views:

172

answers:

1

Do the session variables in coldfusion expire or purge before the specified limit? Like say if the expiration is set to 24 hours, and the user only interacts with them for 10 minutes, do they expire if there not being used before the 24 hours?

+3  A: 

Usually not. Given, you set a time-out of 24 hours for your session variables and you would log in for the first time, doing stuff for 10 minutes then your session is active for 24 hours after the last mouseclick. Unless you restart the server, or client deletes cookies, or your purge interval (Purge data for clients that remain unvisited for ...) in ColdFusion Administrator is less than your session time-out.

Andreas Schuldhaus
Note that if you're using J2EE session variables, that links to a non-persistent cookie. If the user closes their browser they have essentially "lost" the connection to their session variables.
Al Everett