well, in many (most?) cases, sessions are stored in cookies.  which
means the session will persist as long as the cookie persists (which
can be after the browser closes).

if you're not using cookies, you can pass CFID and CFTOKEN values in
URL strings...and in that case, yes, the session would end on browser
close (because when the user opens the browser and returns to the
site, it's unlikely that the URL vars will exist).

you can also force the session to end when the browser closes if using
cookies...it's a couple of lines of code (don't have them handy, but i
can track 'em down easily enough) if this is the behaviour that you're
after.

On 10/13/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, i have read in the coldfusion manual that a coldfusion session is meant 
> to end once the browser has been closed.
>
> however, if i set some session variables in a browser, close all browsers, 
> then restart my application in a fresh browser, it still comes up with the 
> values that were set before i closed all the browsers.
>
> i would appreciate if someone could possibly explain to me why this is 
> happening and i can effectively end a session once the user closes the browser
>
> thanks for your help
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256710
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to