Click to See Complete Forum and Search --> : Prompt before server timeout


wardo
09-09-2005, 01:45 PM
Is there anyway to have a prompt window pop-up and ask a user if they want to remain logged in. (save the session variables)

That way if they dont respond their login will time-out, however if do say they want to remain connected all session variables will be saved.

I realize I could use a javascript timer that is set to work with the server timeout setting I set but I was hoping there was some server side code for doing it.

Also, is there anyway using asp to override the session state timeout setting.
I have one particular page that I may want to allow users to view for a longer period of time, without losing session variables, while keeping the limit lower for other pages.

lmf232s
09-09-2005, 05:19 PM
asp to make sessions last longer
Session.Timeout = 30