That wasn't the test, that simply resets the cookie on close of
browser so that the client is logged out automatically on browser
close. I didn't show the test because it is a javascript test which
should not bother JRun.
Rich
On Thu, 21 Oct 2004 12:51:47 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
> > This is the only cooke being created by CF:
> >
> > <cfif IsDefined("cookie.cfid") AND IsDefined("cookie.cftoken")>
> > <cfset localCFID = cookie.cfid>
> > <cfset localCFTOKEN = cookie.cftoken>
> > <cfcookie name="CFID" value="#localCFID#">
> > <cfcookie name="CFTOKEN" value="#localCFTOKEN#"> </cfif>
> >
> > Other than this, I have a cookie test but that is in javascript.
> > Could the problem simply be that the cookie test is taking
> > place after the cfcookie tag and those users are not allowing
> > the cookie?
>
> I'm not sure what your cookie test is doing.
>
> However, rather than writing the cookies for each page request, you could do
> something like this instead:
>
> <cfapplication ... setclientcookies="no">
>
> <cfif not IsDefined("Cookie.CFID")>
> <cfcookie name="CFID" value="#Session.CFID#">
> <cfcookie name="CFTOKEN" value="#Session.CFTOKEN#">
> </cfif>
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182230
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54