It works for me too, but what I'm wondering is why do these solutions work but directly rewriting the cookie with it's own values doesn't?
> -----Original Message----- > From: Aidan Whitehall [mailto:AidanWhitehall@;Fairbanks.co.uk] > Sent: 01 November 2002 11:01 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] Browser session cookies. > > > > 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] > > -- ** 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]
