Funny you said that ..> I almost added that to the bottom of the post ... :) No problem!
Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector - Commerce Builder ----- Original Message ----- From: "Steve Oliver" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 11:25 PM Subject: RE: simple question - how do you manually time out a session variable > Sorry, I seem to be in an arguing mood tonight. (must be the lack of > sleep) > > ______________________ > steve oliver > atnet solutions, inc. > http://www.atnetsolutions.com > > > -----Original Message----- > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 12:21 AM > To: CF-Talk > Subject: Re: simple question - how do you manually time out a session > variable > > > I agree ... (didn't actually disagree) .. > > <cfif #session.loggedin# Is ""> does about the same thing and > IsDefined... > > I just happen to be working with sessions at that time, and that is one > w > ay > I was clearing it out .. but I didn't want to loose the session either > .. > > If I were just doing a login/logout yeah .. your way is the way to go.. > b > ut > eitherway will accomplish the same result > > Cheers > > Paul Giesenhagen > QuillDesign > http://www.quilldesign.com > SiteDirector - Commerce Builder > > ----- Original Message ----- > From: "Steve Oliver" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 14, 2002 11:15 PM > Subject: RE: simple question - how do you manually time out a session > variable > > > > Why keep the session if there's nothing in it :) > > > > Dropping the session will log them out. > > > > If he's tracking loggedin status by isDefined("SESSION.loggedin"), > he'd > > have to go through and add AND len(SESSION.loggedin) since your way > jus > t > > sets them to "". > > > > ______________________ > > steve oliver > > atnet solutions, inc. > > http://www.atnetsolutions.com > > > > > > -----Original Message----- > > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 14, 2002 11:51 PM > > To: CF-Talk > > Subject: Re: simple question - how do you manually time out a session > > variable > > > > > > Steve's dumps the session totally and my example keeps the session, > but > > drops anything in it. > > > > Paul Giesenhagen > > QuillDesign > > http://www.quilldesign.com > > SiteDirector - Commerce Builder > > ----- Original Message ----- > > From: "Nathan Chen" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, February 14, 2002 10:48 PM > > Subject: Re: simple question - how do you manually time out a session > > variable > > > > > > > Thank you, Paul and Steve, for your help. > > > > > > > > > ----- Original Message ----- > > > From: "Paul Giesenhagen" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Thursday, February 14, 2002 9:31 PM > > > Subject: Re: simple question - how do you manually time out a > session > > > variable > > > > > > > > > > If you are wanting the session to END, just > > > > > > > > <cfset session.sessionname = ""> > > > > > > > > (Wrap it in cflock EXCLUSIVE) > > > > > > > > Paul Giesenhagen > > > > QuillDesign > > > > http://www.quilldesign.com > > > > SiteDirector - Commerce Builder > > > > > > > > > > > > > Hi,All: > > > > > > > > > > I know you can set time out for a session variable by changing > th > e > > > > > default value in CF administration, but can you time out a > sessio > n > > > > > variable manually? For example, if the user clicks a button > > called > > > > > "logout", then the next page sets the session expire or time > out. > > > > > > > > > > > > > > > Nathan > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Get Your Own Dedicated Windows 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=coldfusionb 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

