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 just
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 the
> > > default value in CF administration, but can you time out a session
> > > 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