[thelist] Sessions. When do they End?

lon.kraemer lonnie at lkraemer.com
Sat Mar 3 03:40:10 CST 2001


Typically, a session lasts about 20 minutes. This can be adjusted at the
server or by you by specifying session.timeout=10 (for 10 minutes) in your
ASP script. Yes, the session does end when explicitly killed or when a user
closes her browser. If you want a session to end when a user leaves your
domain you'll have to do some sleight of code. You may be able to check the
isClientConnected method or pass a script through a clientside onunload
event.

What's your purpose for this need?

----- Original Message -----
From: "adams.craigv" <hup at telusplanet.net>
To: <thelist at lists.evolt.org>
Sent: Saturday, March 03, 2001 1:41 AM
Subject: [thelist] Sessions. When do they End?


> Hello.
>
> I've been playing with coldfusion (blah) and php (sweet) for the last few
> months.
>
> Occassionally I've had the need to use session variables.
> I'm curious to know when a Session ends exactly, other than when you kill
> it explicitly.
>
> So far I know, session variables die when the client closes their browser.
> But, when else?
>
> Personally... in most cases, I'd like the session variables to die when
the
> client leave the website's domain.
>
> I've searched around trying to gain some wisdom on this issue, but alas,
> I'm full of failure.
>
> Peace and all that cal,
>  hup.
>
> -/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-
>              My webpage in flux: http://hup.ca/
> -\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list