>I discourage people from using the SessionTracker class to do anything
>other than a simple count of active sessions. Access to a specific
>session via the SessionTracker class updates the last access time of
>that session, which interfers with sessions reaching their expiration
>time. 

I had thought this was avoidable with reflection, but looks like you are right, 
when accessing a CF session var, it does indeed always reset the time. And as 
otherwise mentioned, this method is not terribly fast, so not well suited if 
you expect large numbers of users at once...and of course has the disadvantage 
of using undocumented classes. 


>An important point that confuses people is that a session doesn't end
>when you log out and wipe out the session variables. 

Good point. I do believe there is a way to clear the memory using the 
SessionTracker getMaxInactiveInternal method (not sure if that's the right one, 
but pretty sure I saw a blog entry about using this to reset the max timeout 
for a session.)




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294466
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to