This topic is locked

Session Time Out Dialog

8/12/2009 12:20:52 PM
ASPRunnerPro General questions
R
RBrogen author

Hi,
I'm wondering if someone can point me in the right direction. What I'm trying to do is the same thing they do at most on-line banking sites is where your session time out gets down to the last 60 seconds a dialog box pops up letting the user know that the session is going to time out unless they click Yes to continue. Ther is also a 60 second timer in the dialog box. This will go a long way in mitigating some of the users frustration with submitting complicated entries that they sometimes walk away from to think about and only to loose all of the previously unsaved information due to a session timing out.
Any guidance is greatly appreciated.
Regards,

Randy

Sergey Kornilov admin 8/13/2009

First thing to check is ASP session timeout:

http://www.xlinesoft.com/articles/session_expired.htm
If this doesn't help check "Application loses session variables sporadically" section at http://www.webcheatsheet.com/asp/asp_troubleshooting.php

C
clig 8/13/2009

Hi,

I'm wondering if someone can point me in the right direction. What I'm trying to do is the same thing they do at most on-line banking sites is where your session time out gets down to the last 60 seconds a dialog box pops up letting the user know that the session is going to time out unless they click Yes to continue. Ther is also a 60 second timer in the dialog box. This will go a long way in mitigating some of the users frustration with submitting complicated entries that they sometimes walk away from to think about and only to loose all of the previously unsaved information due to a session timing out.
Any guidance is greatly appreciated.
Regards,

Randy


you would likely need a javascript timer started after login that would start on each page or something - do a popup based on that timer
now what if the user has walked away for a moment and got tied up missing the timeout window - we could pose a question on how we could execute the "Before record added" code from the ASPRunner developers that could capture the dict values of your entry form into either session variables or a temporary table so once the user logs in again from the login page he can return to finish and not lose existing data...
I'll see if I can come up with something of an example shortly...