actually, if i'm not mistaken, you don't need the 'bogus variable' anymore.
just <cfset structDelete(session, key)> should do it. charlie ----- Original Message ----- From: "Scott Weikert" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 4:10 PM Subject: Re: delete session vars > <cfset SomeBogusVariable = StructDelete(Session, key)> > > where 'key' is the session variable in question. > > You can do this to clear out your session as a whole: > > <cfif IsStruct(session)> > <cfloop list="#StructKeyList(Session)#" index="key"> > <cfif "sessionID,cfToken,cfID" does not contain key> > <cfset temp = StructDelete(Session, key)> > </cfif> > </cfloop> > </cfif> > > At 02:38 PM 10/8/2002 -0600, you wrote: > >I am new to session vars so this is probably an easy answer, How do I delete > >a session var from existence? I want to be able to make > >paramterexstits(session.var) return a false after the possibility of it > >being set to something. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

