Session TimeOut

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
 
G

Girish Bharadwaj

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.
 
E

Eliyahu Goldin

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
 

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

Top