btw there's a discussion of the code i posted here:
http://www.easycfm.com/forums/viewmessages.cfm?Forum=12&Topic=9587

On 10/13/06, Munson, Jacob <[EMAIL PROTECTED]> wrote:
> The best thing I can think of is to use the JavaScript OnUnLoad function
> to manually end the session using Ajax.  Of course, this is bad if you
> want their session to continue throughout their browsing session, incase
> they come back later.
>
> > -----Original Message-----
> > From: Andy Matthews [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 13, 2006 11:12 AM
> > To: CF-Talk
> > Subject: RE: ending a session
> >
> > CF sessions end when the session expires. Your
> > Application.cfm/cfc file is
> > generally where you have the settings for your session. Whatever the
> > expiration time is for your session is when it will expire
> > (from the last
> > page refresh).
> >
> > Closing the browser does nothing to the session as the server
> > doesn't know
> > that you've closed the browser.
> >
> > If you find a good answer to "ending the session when the user closes
> > his/her browser" then you'll be a RICH man as many people
> > have tried this
> > very thing including myself.
> >
> > -----Original Message-----
> > From: Richard White [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 13, 2006 11:43 AM
> >
> > 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
>
> "EMF <idahopower.com>" made the following annotations.
> ------------------------------------------------------------------------------
> This transmission may contain information that is privileged, confidential 
> and/or exempt from disclosure under applicable law. If you are not the 
> intended recipient, you are hereby notified that any disclosure, copying, 
> distribution, or use of the information contained herein (including any 
> reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
> in error, please immediately contact the sender and destroy the material in 
> its entirety, whether in electronic or hard copy format. Thank you.
>
> ==============================================================================
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:256713
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to