|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Sessions do not TimeOut
While the session ends for the user, the variables persist in memoryJames Holmes 01/27/07 07:03 A Thank you James: Agree, but the sessions are scheduled to expire after oneWalter Conti 01/27/07 11:59 A So an hour and a bit after the last access by any person, a givenJames Holmes 01/27/07 06:21 P Yep! It looks like my ISP resets between 1am and 6am. Until 1pm keepWalter Conti 01/27/07 07:05 P if i have grasped this thread, do you want the session to end when the user closes the browser?Richard White 01/27/07 06:41 P While the session ends for the user, the variables persist in memory until the end of the session timeout. How is the server to know when the user closed the browser? Sessions are maintained via cookies - what that sentence in the manual means is that instead of writing a cookie that lives when the browser is closed, the cookie is session-based and dies when the browser closes. The same person gets a new jsessionid and a new cookie on the next visit. ----- Excess quoted text cut - see Original Post for more ----- Thank you James: Agree, but the sessions are scheduled to expire after one hour <cfapplication name="#prefix#_blog_#blogname#" clientManagement = "no" setClientCookies = "no" setDomainCookies = "no" loginStorage = "session" sessionManagement = "yes" sessionTimeout = #CreateTimeSpan(0,1,0,0)# applicationTimeout = #CreateTimeSpan(1,0,0,0)#> --------- >While the session ends for the user, >the variables persist in memory until the end of the session timeout. >How is the server to know when >the user closed the browser? > I have this code in my Application.cfm that returns the number of sessions and the > number of sessions with a user loggedIn. Unfortunately the sessions do not timeout > and keep accumulating. So an hour and a bit after the last access by any person, a given session is still showing in the tracker? ----- Excess quoted text cut - see Original Post for more ----- -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ Yep! It looks like my ISP resets between 1am and 6am. Until 1pm keep accumulating. In the morning the values look normal again. Does this make sense? Thanks for the help everybody. On Monday I will ask ISP if they have J2EE on. If they don't, could there be any reason they would refuse? Have a nice weekend So an hour and a bit after the last access by any person, a given session is still showing in the tracker? ----- Excess quoted text cut - see Original Post for more ----- sessions > and the > > number of sessions with a user loggedIn. Unfortunately the sessions do not > timeout > > and keep accumulating. -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ if i have grasped this thread, do you want the session to end when the user closes the browser? if so then if you go to the cf administrator, go to the memory variables section under server settings, and turn on the 'Use J2EE Session Variables'.
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||