I'm going through old emails I hadn't read, sorry it's taken so long to
respond.

> How do you control the EXPIRES attribute of the client cookie 
> (i.e. which is enabled via <CFAPPLICATION 
> SETCLIENTCOOKIES="YES" ...> and contains the CFID and 
> CFTOKEN)?  Mine appear to have expirations far into the 
> future, but I don't want them to persist beyond the session.  
> 
> I poked around in the Administrator and did not find anything...

You will have to set these yourself. You can do this by disabling cookies
within your CFAPPLICATION tag or Application.cfc, then setting the cookies
manually using the values from the Client or Session scope (depending on
which you're using):

<cfapplication ... setclientcookies="no">

<cfif not IsDefined("Cookie.CFID")>
        <cfcookie name="CFID" value="#Session.CFID#" expires="...">
        <cfcookie name="CFTOKEN" value="#Session.CFTOKEN#" expires="...">
</cfif>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213890
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to