RE: sessiontimeout

2001-01-14 Thread Scott Wolf

Here's the code that I use.  Hope it works for you:

StructClear(Session);



Scott Wolf
Goodfriend Computer Training

-Original Message-
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 7:37 PM
To: CF-Talk
Subject: sessiontimeout


quick question.
in my client section if i have the sessiontimeout set to 1 day and the
client logs out by clicking the 'log out' link. how can i kill that session
so if they go back to the login screen latter they dont get a blank screen?
the problem i am having is that when i log out and then go to the login link
i get a blank screen because my session has not expired yet. so what should
i do to kill the "session clock" so if i go back latter in the day i can log
in again with out having to wait the full day to get the login screen again.
make sense?

Thanks,

Jay Patton
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.com
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: sessiontimeout

2001-01-14 Thread Russel Madere

Try using the StructDelete(Session) function.

Russel


  Russel Madere, Jr. Senior Web Developer  
  ICQ: 5446158   http://www.TurboSquid.com   

Some days you eat the bear; some days the bear eats you.

 

> -Original Message-
> From: Jay Patton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 18:37
> To: CF-Talk
> Subject: sessiontimeout
> 
> 
> quick question.
> in my client section if i have the sessiontimeout set to 1 day 
> and the client logs out by clicking the 'log out' link. how can i 
> kill that session so if they go back to the login screen latter 
> they dont get a blank screen? the problem i am having is that 
> when i log out and then go to the login link i get a blank screen 
> because my session has not expired yet. so what should i do to 
> kill the "session clock" so if i go back latter in the day i can 
> log in again with out having to wait the full day to get the 
> login screen again.
> make sense?
> 
> Thanks,
> 
> Jay Patton
> Web Pro USA
> 406.549.3337 ext. 203
> 1.888.5WEBPRO
> www.webpro-usa.com
> 
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SESSIONTIMEOUT ???

2000-10-14 Thread Dave Watts

> Does SESSIONTIMEOUT have to be set in time or can it be set 
> to expire when the browser window is closed?

The SESSIONTIMEOUT attribute has to be a time - the server doesn't know when
the browser is closed! You can, however, destroy the link between the
browser and the corresponding session variables by setting the CFID and
CFTOKEN cookies to be discarded when the browser is closed.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.