[thelist] session expires

Feingold Josh S Josh.S.Feingold at irs.gov
Tue Dec 3 15:39:01 CST 2002

[ Picked text/plain from multipart/alternative ]

> Create a JS script with a countdown timer equal to the Session
> Timeout minus 1 minute. Start the countdown script with the onLoad
> event.

Don't forget to include some fluff time for the amount of time it takes for
the page to be sent to the browser, the load time of the page, the amount of
time the user has to react to the Javascript alert, and the amount of time
it takes for whatever the user does to travel back to the server.

If you don't want the session to expire while the user still has their
browser open you could try doing a refresh via metatags or Javascript one
minute before your session expires.  This will take the burdon of keeping
the session going away from the user.


More information about the thelist mailing list