I did.
StructClear cleans the whole structure and StructDelete removes one item with the key specified. So structclear(session) wipes the whole thing, while StructDelete(session, "cart") wipes out the session variable "cart". Take a look yourself. -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:17 AM To: CF-Community Subject: Re: Log out routine Kevin Schmidt wrote: > You wouldn't lose CFID and CFTOKEN if you use structdelete. You have to > specify the key within the structure so you can pick and choose what > session vars to knock off. Plus CFID and CFTOKEN aren't stored in the > session structure so how would you lose them?? Take a look at the difference between StructClear() and StructDelete(). Jochem ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
