Creating a Session Expiring Warning?

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

Guest

Greetings All,

i would like to create a popup that warns users that their session is about
to expire. I've seen this used a lot on financial websites. Can someone
point me towards some good codes samples or ideas?

thanks,
 
Session belongs to the server, so you have to work out when the session
starts and when the session might have been last informed that the user
remains active (ie. the last hit to that web application from that user).
So you need some form of javascript time to countdown the difference between
a session starting and its timeout default and when it gets close do
something in the client.
 
Back
Top