It should have been (removed the Not):
<cfloop collection="#session#" item="Key">
  <cfif ListFindNoCase('CFID,CFToken,SessionID,JSessionID',Key)>
    <cfset StructDelete(session,Key)>
  </cfif>
</cfloop>
or if you want to clear the whole session struct for that user:
<cfloop collection="#session#" item="Key">
  <cfset StructDelete(session,Key)>
</cfloop>

-Aaron

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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

Reply via email to