if it is not a session variable then
once the page changes/reloads, the variable
is not defined unless physically defined
again
-----Original Message-----
From: Geoff Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 12:33 PM
To: CF-Talk
Subject: Un-defining a Variable
What I need/want is the ability to <cfset aVariable = VOID> so that
subsequent isdefined("aVariable") returns FALSE.
Another way of saying it would be, why isnt there
DeleteVariable("var")
like there is DeleteClientVariable("var")
Or put yet another way, Why can't you
cfset r=StructDelete(Variables, "var")
As far as I can tell, once you use CFSET to create a variable, you
can't undefine it.
Is this true, or am I missing something?
geoff hoffman
[EMAIL PROTECTED]
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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