Session Timeout is in minutes and not seconds.  The default for session
timeout is 20 minutes.  Here is a snippet from the MSDN:
Timeout
The Timeout property specifies the timeout period assigned to the Session
object for this application, in minutes. If the user does not refresh or
request a page within the timeout period, the session ends.

Syntax
Session.Timeout [ = nMinutes]

Parameters
  nMinutes
  Specifies the number of minutes that a session can remain idle before the
server terminates it automatically. The default is 20 minutes.
Applies To
Session Object

See Also
Abandon

Hope that helps!

--Ben

----- Original Message -----
From: "Chris Tifer" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 1:33 PM
Subject: Re: Session State


> You sure timeout is in minutes? I was always under the impression it was
> seconds.
> Microsoft seems to be too:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref60/ht
> m/ref_vbom_seropsct.asp
>
> Server.ScriptTimeout
> The ScriptTimeout property specifies the maximum amount of time that a
> script can run before it is terminated.
>
> The timeout will not take effect while a server component is processing.
>
> Syntax
> Server.ScriptTimeout = NumSeconds
>
> Parameters
> NumSeconds
> Specifies the maximum number of seconds that a script can run before the
> server terminates it. The default value is 90 seconds.
>
>
>
>
> ----- Original Message -----
> From: "Tim Fletcher" <[EMAIL PROTECTED]>
> To: "ActiveServerPages" <[EMAIL PROTECTED]>
> Sent: Monday, September 09, 2002 9:19 AM
> Subject: RE: Session State
>
>
> > hi,
> >
> > by default, the script.timeout property is set to 20 mins. if you want
to
> change the value use the session.Timeout property(the
> > value is expressed in minuts not seconds). if you want to end a users
> session at any time, use session.abandon.
> >
> > HTH
> >
> > Tim
> > -----Message d'origine-----
> > De : Jaco Roux [mailto:[EMAIL PROTECTED]]
> > Envoy� : lundi 9 septembre 2002 10:56
> > � : ActiveServerPages
> > Objet : Session State
> >
> >
> > Hi There
> >
> > I set a session variable on my web site and the user follows a link to
> > another web site... How long will the session on my web site still be
> > active for and is it reliant on the Session.Timeout setting and the
> > settings of IIS?
> >
> > Thanks
> > Jaco Roux
> >
> > ---
> > You are currently subscribed to activeserverpages as:
> [EMAIL PROTECTED]
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > ---
> > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to
> %%email.unsub%%
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to