Restoring Viewstate when using Response.Redirect()

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a form where I have several text boxes. I am filling all those
values and when I click on submit I am redirecting to new webform using
Response.Redirect(). In the new webform if I click on back button of Internet
Explorer I am losing all the values that I entered. How could I restore all
those values?

Thanks,
Sridhar.
 
I'm using Server.Transfer instead of Redirect. This saves a roundtrip
to the client.
Then I just transfer my data in the HTTPContext (Not for big objects).
If you press the Back button it normally keeps the settings.

But would be very interested in seeing how other people do this.

Remy Blaettler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top