IsPostBack and Session Timeout

  • Thread starter Thread starter Sean Bytnar
  • Start date Start date
S

Sean Bytnar

Hello all,

I have a problem that I hope someone can help me with. Any webform in
my app reports IsPostBack = false if the Session times out. Because of
this my users lose any data they have entered in the form. Is there a
way to maintain the form values if the Session times out?

Thanks for any help,
Sean
 
I don't think it is possible, because that's why it's called 'timeout'.
 
Then my question would be why are Session and IsPostBack connected? Why
would a page have to have a Session to determine if the page is being
posted back or not? Why is a value not stored in the ViewState (which
doesn't die) to determine PostBack?

Thanks,
Sean
 

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