Wouldn't it work better like so.....


<CFIF isDefined('Cookie.CFID') AND isDefined('Cookie.CFTOKEN')>
 <CFSET tempID = Cookie.CFID>
 <CFSET tempToken = Cookie.CFTOKEN>
 <CFCOOKIE NAME="CFID" value="#tempID#">
 <CFCOOKIE NAME="CFTOKEN" value="#tempToken#">
</CFIF>

Doug

Doug
----- Original Message -----
From: "Chris Norloff" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 6:06 AM
Subject: client.CFID vanishes


> We sometimes get an error that client.CFID can't be found, right after we
turn on client management.  Anybody else ever get this?
>
> thanks,
> Chris Norloff
>
> in Application.cfm:
> ------------------
> <cfapplication
>    name="jobTypeApp"
>    sessionmanagement="Yes"
>    sessiontimeout="#CreateTimeSpan(2,0,0,0)#"
>    applicationtimeout="#CreateTimeSpan(1,0,0,0)#"
>    clientmanagement="Yes"
>    setclientcookies="No"
> >
> <!--- manually set cookies; will expire at end of browser session --->
> <cfcookie name="CFID" value="#client.CFID#">
> <cfcookie name="CFTOKEN" value="#client.CFTOKEN#">
>
>
> error
> -----
> Error resolving parameter <B>CLIENT.CFID</B><P><P>The client variable CFID
does not exist....The error occurred while processing an element with a
general identifier of (CFCOOKIE), occupying document position (23:1) to
(23:44) in the template file
> /usr/local/netscape/server4/docs/nonsecure/Application.cfm.
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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