Re: How do I change the session timeout?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



re:
The IIS only clears out old sessions once a minute, so the sessions will live up to two minutes.

Have you tested that ? That is not true.

IIS has nothing to do with session length.
Session length is determined by ASP.NET.

And, invariably, if you set the timeout to 1 minute,
at one minute and 1 second after that time, a new session will start.

See my just-sent reply to Steven Cheng and test it yourself.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Göran Andersson" <guffa@xxxxxxxxx> wrote in message news:upuLmHpcHHA.4188@xxxxxxxxxxxxxxxxxxxxxxx
David Thielen wrote:
I tried:
<sessionState timeout="1">
</sessionState>

bounced IIS, and after 1 minute still had a session.

???


The IIS only clears out old sessions once a minute, so the sessions will live up to two minutes.

--
Göran Andersson
_____
http://www.guffa.com


.



Relevant Pages

  • Re: CGI under IIS throws away printf on multiple posts.
    ... IIS is not throwing away anything. ... will have to implement in CGI, by taking a server-side lock to prevent the ... session from performing the operation a second consecutive time. ... "application session" (IIS is a high-performance server. ...
    (microsoft.public.inetserver.iis)
  • Re: Multiple instances of app under IIs and global com object - is it a problem?
    ... If IIS has, say, a pool of 25 threads, and your ASP Sessions do not exhibit ... objects) then you may not be looking at the same data when your next request ... This is why Session-level variables were provided -- in the Session ... this multiplicity of Module-level data means that you cannot ...
    (microsoft.public.vb.com)
  • Re: Multiple instances of app under IIs and global com object - is it a problem?
    ... If IIS has, say, a pool of 25 threads, and your ASP Sessions do not exhibit ... objects) then you may not be looking at the same data when your next request ... This is why Session-level variables were provided -- in the Session ... this multiplicity of Module-level data means that you cannot ...
    (microsoft.public.vb.general.discussion)
  • Re: Multiple instances of app under IIs and global com object - is it a problem?
    ... If IIS has, say, a pool of 25 threads, and your ASP Sessions do not exhibit ... objects) then you may not be looking at the same data when your next request ... This is why Session-level variables were provided -- in the Session ... this multiplicity of Module-level data means that you cannot ...
    (microsoft.public.inetserver.iis)
  • Re: ISS 6.0 and tilde
    ... Unfortunately I can't test this just now as I have to run the server in IIS ... sessions persist in a classic ASP application without relying on session ... > What you are probably seeing, though, is that the worker process itself ... > not have access to check the file system for that file. ...
    (microsoft.public.inetserver.iis)