> > You can simply write them once, by setting the
> > SETCLIENTCOOKIE attribute of CFAPPLICATION to "false" or 
> > "no", and then creating your own CFID and CFTOKEN "session" 
> > cookies with the appropriate CFID and CFTOKEN values from 
> > the Client or Session scope.
> 
> OK .. I've disabled setclientcookies, but I don't quite understand 
> the second 1/2 of the sentance. Would you mind explaining a little 
> more?

I posted this snippet yesterday:

<!--- all of this goes in Application.cfm --->
<cfapplication name="foo" setclientcookies="false" sessionmanagement="true"
..>

<cfif not IsDefined("Cookie.CFID")>
        <cflock scope="Session" type="readonly" ...>
                <cfcookie name="CFID" value="#Session.CFID#">
                <cfcookie name="CFTOKEN" value="#Session.CFTOKEN#">
        </cflock>
</cfif>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
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