Maybe I should explain what I am trying to do a little more.

I have an application that uses client variables to track sessions and
provide security.  If a user loggs out, everything is fine.  If a user is
idle for more than an hour, everything is fine.  If a user closes their
browser and someone comes along behind them and opens a broswer and goes to
the same place, the session is still active and they don't have to log in.
What I need is a way to end the seeion when the browser is closed.

Todd

----- Original Message -----
From: "Russel Madere" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 11:08 AM
Subject: RE: The trouble with cookies ...


> Try adding the expires="NOW" attribute to the call.
>
> <cfcookie name="cfid" value="#cookie.cfid#" expires="NOW">
>
> Russel
>
> > -----Original Message-----
> > From: Todd [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 21, 2002 9:58 AM
> > To: CF-Talk
> > Subject: Fw: The trouble with cookies ...
> >
> >
> > Is that I can't get them to expire when the browser is closed.
> >
> > I've got this code:
> >
> > <cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
> >     <cfcookie name="cfid" value="#cookie.cfid#">
> >     <cfcookie name="cftoken" value="#cookie.cftoken#">
> > </cfif>
> >
> > but it doesn't seem to do anything.  I close my browser, open it back
up,
> > and am still able to read the cookies.
> >
> > Any suggestions?
> >
> > Todd

______________________________________________________________________
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