You can reset a client variable by doing:

<cfset client.mycolor="">

John Haigh

-----Original Message-----
From: Kevin Bridges [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 6:14 AM
To: Fusebox
Subject: Re: Expiring Client Variables



Ryan,

Maybe try setting the variables you need to store temporarily in a client
variable database and schedule a task (for example every 20 minutes) that
compares the last visit time to the current time ... if they are there
longer then delete them.  Then store only the variables you want to remain
persistenet on the client as cookies.

Otherwise maybe set something in an application file or app_globals that
checks the last visit date/time in the cookie and if the variables are there
then delete them before a new session begins.

I don't know of anyway to expire client side cookie information based on
someone leaving the site.



---------- Original Message ----------------------------------
From: Ryan Wood <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 19 Dec 2000 09:06:00 -0500

>Can your set certain client variables (stored as cookies) to expire at the
>end of a session and others to remain on the client for a certain length of
>time as you can with the CFCOOKIE tag?
>
>Ryan
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to