Closed Connor9220 closed 9 years ago
I've now fixed this issue. The keep-alive, if enabled, starts when the idle-Timeout script starts. The keep-alive stops if the timeout warning dialog box appears and restarts if the warning dialog box is dismissed. The keep-alive also stops if the user is logged out.
Thank you for reporting this bug. Please let me know if you have any problems with the new code.
Ah, just found a problem with my code. I won't be able to fix for a couple of days. Ugh.
Rookie error on my part. Corrected now. Thank you for your patience.
I've noticed that on other peoples implementation of this code, the KeepAlive is ONLY triggered in regular intervals while there is activity. Be it keyboard, mouse etc. This implementation looks to simply call the keepalive url every so often regardless of activity. This basically puts ALL the session timeout handling on the javascript and disables the server side. This might not be desirable in some cases. Is it possible to set it up so that the keepalive is only active while their is true activity, or am I missing something?