> But what's the difference?
> Both are just reading and re-wrting the cookies without an expires
> attribute?
This works for me...
<cfapplication
name="xxxxx"
applicationtimeout="#CreateTimeSpan(2, 0, 0, 0)#"
clientmanagement="Yes"
sessionmanagement="Yes"
sessiontimeout="#CreateTimeSpan(0, 1, 0, 0)#"
setclientcookies="No">
<!--- Set the client cookies manually so they are stored as per-session
cookies (if
they haven't already been set).
Per-session cookies aren't written as text files to the user's
hard drive
but exist in the browser's memory and expire when the browser
closes.
This has the effect of expiring the session when the browser is
closed. --->
<cfif not IsDefined("Cookie.CFID")>
<cfcookie name="CFID" value="#Session.CFID#">
<cfcookie name="CFTOKEN" value="#Session.CFTOKEN#">
</cfif>
--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]