It is amazing how fast your FastTrack to CF class information comes flooding
into your mind once you ask a question that was covered in the class.
Anyway, thanks David and Jeremy for the information. It worked like a charm
once I changed them all to Client variables. And I was rather disappointed
that I could not attend the meeting. I had a prior engagement that I
absolutely could NOT get out of.

Thanks


-----Original Message-----
From: Jeremy Ridout [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 3:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Erasing Application Variables


<cfset Application.MyVar = "">,

and/or wait for the Application timeout,

or restart CF.

The reason that there is a special function for deleting Client variables
(DeleteClientVariable()) is that client variables are physcially written to
a location (be it the registry, a cookie, or other database), and due to the
way CF stores those client variables, there is no easy way to remove them.

Applications variables are stored in memory and therefore will die a natural
death when the a) the application times out or b) you restart CF.

Rather than check for the existence of a variable, it may be best to param
it and then check for a value (not "").

Jeremy

> -----Original Message-----
> From: Sorge, Bruce [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:43 PM
> To: List (E-mail)
> Subject: Erasing Application Variables
> 
> 
> Is there a CF Function for erasing Application variables?
> 
> Bruce Sorge
> Project Manager
> Baylor Health Care System
> Dallas TX
> 214-820-3142 O
> 214-820-4241 F
> 
> 
> --------------------------------------------------------------
> -----------
> This email server is running an evaluation copy of the 
> MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: 
> www.mailshield.com
> 
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
> 

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to