Does anyone know how to preserve data after Server.Transfer is used? What is happening is:
I am using the Server.Transfer method to send a 3 values from page 1 to page 2 on a website. Then a button is clicked which is suppose to load a hyperlink with 2 of the 3 values from page 1 and 2 new values from page 2. These values will be sent to page 3 through a query string after clicking the newly enabled hyperlink.
The problem I am having is when the button is clicked on page 2 the page posts back to itself and erases the values that were just sent to page 2 from page 1. Those valuse are needed to send to page 3 by query string.
Does anyone know how to save that data on page 2 once it is sent from page 1 so it will not be erased once the page posts back to itself? THANKS!!!!!
I am using the Server.Transfer method to send a 3 values from page 1 to page 2 on a website. Then a button is clicked which is suppose to load a hyperlink with 2 of the 3 values from page 1 and 2 new values from page 2. These values will be sent to page 3 through a query string after clicking the newly enabled hyperlink.
The problem I am having is when the button is clicked on page 2 the page posts back to itself and erases the values that were just sent to page 2 from page 1. Those valuse are needed to send to page 3 by query string.
Does anyone know how to save that data on page 2 once it is sent from page 1 so it will not be erased once the page posts back to itself? THANKS!!!!!
Comment