This is because sessions are tracked by cookies.  If you want the
session variables to be killed upon closing your browser window then set
the cookies for them.

If you put No expiration date, then the cookie will be a session cookie,
and will expire when the browser is closed :)

<cfcookie name="CFID" value="#client.cfid#">
<cfcookie name="CFTOKEN" value="#client.cftoken#">

______________________
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-----Original Message-----
From: Waldemiro Junior [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 21, 2002 7:42 AM
To: CF-Talk
Subject: Session variables


Hello again folks..

Something weird is happening and I don�t know how to solve it, or 
maybe I�m doing something wrong...

I believe that when I close my browser all those session variables must 
be "killed", but when I open another browser window (it�s not a new 
window function) the values of those variables are still there in the 
memory !!!

Does anybody know what�s going on here...I�m using CF5.

Thanks and best regards,

Waldemiro Junior
ADD Technologies Web Developer


______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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