You really don't want to use parameterexists(anything) -- parameterexists
was deprecated a while back. You want to use isdefined("session.var") or
possibly structkeyexists(session,"var") but to answer your question, <cfset
temp = StructDelete(session,"var")> should remove the offending variable
from the session scope.

hth

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

> 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.

> thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to