Scott, Here is the method that I use. Hope it helps some. <cfset sessionvars = ""> <cfloop collection="#session#" item=key> <cfset sessionvars = listappend(sessionvars, key)> </cfloop> <cfloop list="sessionvars" index="deletekey" delimiters=","> <cfset StructDelete(session,"#deletekey#")> </cfloop> > How can > I remove a session variable completely? I know I > can change > the value using CFSET (i.e. <CFSET > Session.LoggedIn = "1">) > but I don't know how to remove it altogether. <cf_warrior name="Bill"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- Deleting Session Variables Scott Wolf
- Re: Deleting Session Variables Scott M. Berry
- RE: Deleting Session Variables Scott Wolf
- Re: Deleting Session Variables Rob Keniger
- RE: Deleting Session Variables Bill Killillay
- RE: Deleting Session Variable... Scott Wolf
- RE: Deleting Session Vari... Dylan Bromby
- Re: Deleting Session Variable... Rob Keniger
- Re: Deleting Session Variables Danny Davis
- RE: Deleting Session Variables Sandra Clark
- RE: Deleting Session Variables Bill Killillay
- RE: Deleting Session Variables Christopher Olive, CIO
- RE: Deleting Session Variables Dylan Bromby
- deleting session variables S R
- RE: deleting session variables Dylan Bromby
- RE: deleting session variables Dave Watts
- RE: deleting session variables Dave Watts
- RE: deleting session variables Paul Johnston
- RE: Deleting session variables Steve Dworman
- RE: Deleting session variables Pascal Peters