Session TimeOut

  • Thread starter Thread starter Bart Schelkens
  • Start date Start date
B

Bart Schelkens

Hi,

is it possible that as soon as my session gets a timeout, that I refresh the
current page?
I display my page in 2 modes : view and edit.
And when I'm in edit and I get a time-out, I need to refresh the page
manually.

Thx
 
I am not sure how you can communicate back to the client when session dies
on the server. One thing that might be worthwhile to try is a ping
notification between the client and the server (but then, the act of ping
might keep the session alive). :)
Well, someone smarter might be able to help you out.
 
If aform stays open in the browser and doesn't post anything back there is
no any communication between the form and the server and you can't do
anything. When the from posts back, the server can first check IsNewSession
property to see if the form has timed out.

Eliyahu
 
Back
Top