Since variables in the application scope are stored as a session, I suppose
you could do something like this: 

<cfset temp = structkeylist(application)>
<cfloop list="#temp#" index="dex">
        <cfset temp2 = structdelete(application, dex)>
</cfloop>

This will remove all variables from the application scope.

M

-----Original Message-----
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:37 AM
To: CF-Talk
Subject: Flushing Application scoped vars


Does anyone know of a good way to flush the vars stored in the application
scope?  I tried setting the applicationtimeout to CreateTimeSpan(0,0,0,0)
and
that didn't do anything.  I'm not sure how cfflush works but I think that
has to
do with headers and not with ColdFusion cacheing.  Anyway, if any of you has
a good tip for this I'd appreciate it.

Thanks,
Jason

<!---
     Jason Dowdell
     [EMAIL PROTECTED]
     321.799.6845
     IM AES - Web Developer
 --->


______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to