Session timeout happens inconsistently
Posted on 2004-10-01
I have an intranet application that has been working for about 3 years. I am using CF 5 on Win 2000. I have been getting complaints that my users are being kicked out of the system at random times during the day. I used to have the session timeout value set to 2 hours and have recently increased that to 9 hours to see if it would fix the problem. I have set the max value in the CF Administrator to 9 hours as well as the code in my cfapplication page.
I have a few questions that I've been trying to figure out:
-What would cause an application to suddenly timeout before the session variable should timeout or what would cause a session variable to timeout before the value set in the cfapplication page?
-Could it be an issue with locking session variables? Is there a quick way to check for unlocked session variables or a way to lock all session variables? I remember something in the CF Administrator that will allow you to check a certain mode and have the locking effected...
I have an include file on all my pages that does a check for the session variable and if it is not found redirects the user back to the login page. I'm thinking that is where the system is sending people back out of the system but that means that the session variables either expire or are lost somehow.
Anyone had any similar experience with premature timeouts? Thanks for any help or suggestions!