Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extending Session Timeouts

0 views
Skip to first unread message

Les Juby

unread,
Dec 10, 2009, 3:53:37 PM12/10/09
to
Hi

Is it possible to extend the session variable timeout past the default
limit of 20 minutes.?

My host won't do it from the server config side and I was wondering if
it could be done through ASP coding.?

.les.

Bob Barrows

unread,
Dec 10, 2009, 4:19:55 PM12/10/09
to

Bob Barrows

unread,
Dec 10, 2009, 4:25:16 PM12/10/09
to
... except when done in global.asa, of course.

PS. Would this invalidate the contract you have with your host?
--
HTH,
Bob Barrows


Evertjan.

unread,
Dec 11, 2009, 4:34:10 AM12/11/09
to
Bob Barrows wrote on 10 dec 2009 in
microsoft.public.inetserver.asp.general:

>> Note: doing it in code only affects the current session.
>>
> ... except when done in global.asa, of course.
>
> PS. Would this invalidate the contract you have with your host?

Perhaps the terms could be broken, as in any contract the silliest terms
could be stated, but invalidisation is another matter.

I seem to remember that the maximum code settable timeout value can be set
in IIS, so [if so] there is no need for such contractual nonsense.


Session.Timeout = 60*24*365.2425*1000

Would that keep the session active into the 22th century?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Bob Barrows

unread,
Dec 11, 2009, 6:08:19 AM12/11/09
to
Evertjan. wrote:
> Bob Barrows wrote on 10 dec 2009 in
> microsoft.public.inetserver.asp.general:
>
>>> Note: doing it in code only affects the current session.
>>>
>> ... except when done in global.asa, of course.
>>
>> PS. Would this invalidate the contract you have with your host?
>
> Perhaps the terms could be broken, as in any contract the silliest
> terms could be stated, but invalidisation is another matter.
>
> I seem to remember that the maximum code settable timeout value can
> be set in IIS, so [if so] there is no need for such contractual
> nonsense.
>
>
> Session.Timeout = 60*24*365.2425*1000
>
> Would that keep the session active into the 22th century?

IIS6 will not allow a value greater than 24 hours.
http://support.microsoft.com/kb/233477

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


0 new messages