Douglas said:
 One thing to note, is that with structClear() you will be
killing all session vars and not just the user that logged out.


I just checked, and in my app at least, this is not true. I use
StructClear(session) to log folks out and it works just fine. I just tried
logging in as two different users on two different machines, and I could log
out one account and the other continued with no problems. 

I would think it would be a major inconsistency for it to clear all session
variables for all sessions, since you can only set variables for the one
active session.

Here's the contents of my act_logout.cfm file:


<CFSET tmp = StructClear(Session)>

<cfcookie name="cfid" expires="NOW">
<cfcookie name="cftoken" expires="NOW">

 - Eric

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to