Kinda and yes. Simply accessing the page within the timeout limit should maintain the session. Your code in the second question should be an adequate check of whether or not the session is active. All session variables inside the user's session would expire at the same time. StructKeyExists(session,"loggedin") is more efficient than IsDefined().
-Mike Chabot On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith <[email protected]> wrote: > > I think I know this, but want to verify. > > If I do a isdefined on one session variable, is the timeout for all session > variables reset? > > So if I have a isdefined("session.loggedin") check and it is true, I can > assume that all session variables are still defined, assuming they were > coming into that portion of the code? > > Thanks! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331653 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

