The client scope is NOT a struct ;)
+-----------------------------------------------+
Bryan Love
Database Analyst
Macromedia Certified Professional
Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+
"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis
"Let's Roll"
- Todd Beamer, Flight 93
-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 7:12 AM
To: CF-Talk
Subject: Re: HELP! Can't clear the CLIENT scope
>I'm having some trouble...I'm using CLIENT scoped variables because
>we are in a load-balanced environment. I need to delete some
>variables from the client scope and it's just not
>working...structClear(CLIENT) seems to work when I refresh the
>browser window to load that code, but when I go back, all of the
>data that was in the CLIENT scope before is still there. I tried to
>go in and delete specific keys by doing
>structDelete(CLIENT,client_data), one at a time, but that didn't
>work either.
>
>Is there a reliable way to delete values from the CLIENT scope? Or
>am I doing something stupid?
I do it like this:
<cfset clientlist = GetClientVariablesList()>
<cfloop index="i" list="#clientlist#">
<cfset temp = DeleteClientVariable('#i#')>
</cfloop>
--
Bud Schneehagen - Tropical Web Creations, Inc.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Web Based Solutions / eCommerce Development & Hosting
http://www.twcreations.com/ - http://www.cf-ezcart.com/
954.721.3452 - Toll Free: 877.207.6397 - Fax: 954.721.7493
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4