Re: session cookies to expire immediately on browser close
This is what I use I picked it up off I don't actually remember where but it works great. - this is what I use --- At 02:04 PM 5/10/02 +0800, you wrote: > hihi.. where am i suppose to put this.. if i want to set cookie to expire when >browser close.?? > > > >is it at application.cfm? > > >cheers >han > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: session cookies to expire immediately on browser close
Brian, this is a great snippet!!! Thanks. I have been wondering how to force the session to die without an explicit logout. This will definately do the trick. Cheers, Jeff Garza - Original Message - From: "Brian Scandale" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, May 09, 2002 11:39 PM Subject: Re: session cookies to expire immediately on browser close This is what I use I picked it up off I don't actually remember where but it works great. - this is what I use --- At 02:04 PM 5/10/02 +0800, you wrote: > hihi.. where am i suppose to put this.. if i want to set cookie to expire when browser close.?? > > > >is it at application.cfm? > > >cheers >han > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: session cookies to expire immediately on browser close
hmm.. funnies... plugged yr codes into my application.cfm but doesnt seem to work... is there some other setting need to be configured at browser setting.. or Server side.? cheers han - Original Message - From: "Jeff Garza" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 3:14 PM Subject: Re: session cookies to expire immediately on browser close > Brian, > > this is a great snippet!!! Thanks. I have been wondering how to force the > session to die without an explicit logout. This will definately do the > trick. > > Cheers, > > Jeff Garza > > - Original Message - > From: "Brian Scandale" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, May 09, 2002 11:39 PM > Subject: Re: session cookies to expire immediately on browser close > > > This is what I use I picked it up off I don't actually remember > where but it works great. > > - this is what I use --- > > > > > > > > > > > > > > > > At 02:04 PM 5/10/02 +0800, you wrote: > > hihi.. where am i suppose to put this.. if i want to set cookie to expire > when browser close.?? > > > > > > > >is it at application.cfm? > > > > > >cheers > >han > > > > > > __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: session cookies to expire immediately on browser close
Wow, this looks great! I was just curious, would it be difficult to do the same implementation without the use of cookies for the session? I have a few applications where I append the CFID and CFTOKEN to the URL and pass it through as such.. I was thinking something like this might do the trick? (I define the session.variable once the session is created): " FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists