> that you rely on session cookies to maintain state. MX's
> "session" cookies are actually permanent cookies and many
> Users, myself included, do not allow these types of cookies
> to be set. These means that I will not buy from certain sites
> where this is a requirements. I recommend that you use
> URLSessionFormat() around all of your links so that Users
> who don't allow permanent cookies can still use your site.
If you want to use nonpersistent (session) cookies, you can either select
the "J2EE Sessions" option in the CF Administrator, which will create a
session cookie called JSESSIONID, or you can manually set the CFID and
CFTOKEN cookies to be nonpersistent, using something like this in your
Application.cfm:
<cfapplication ... sessionmanagement="yes" 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/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

