On 17/09/2010 10:49, Michael Grant wrote: > > Am I just tired or is this a little redundant? Set a local var equal to the > cookie value, then overwrite the cookie value with the local var value? > Surely I'm just reading this wrong.
Its a standard trick to change the "expires" attribute for the cookie so it expires immediately. Close browser, open browser and it becomes a new session rather than using the still-existing cookies from before. HTH Kym K > > On Thu, Sep 16, 2010 at 8:35 PM, Andrew Scott<andr...@andyscott.id.au>wrote: > >> >> You should be doing something like this. >> >> <cfif isDefined("Cookie.CFID") AND >> isDefined("Cookie.CFTOKEN")> >> <cfset cfId_local = Cookie.CFID> >> <cfset cftoken_local = Cookie.CFTOKEN> >> <cfcookie name="CFID" value="#cfId_local#"> >> <cfcookie name="CFTOKEN" value="#cftoken_local#"> >> </cfif> >> -- Yours, Kym Kovan mbcomms.net.au ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm