Jason,

You could loop through the scope (it's a structure) and delete the keys -
they would be instantiated on the next request.  Note: if you have to do
this routinely then you are probably using the wrong scope.  the Ap scope
should be reserved for data that changes very rarely (like lookup queries or
Datasource names).

-mk

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
..no more brochures!



-----Original Message-----
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8: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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to