Session Timeout problems-web.confg session state and IIS session s

G

Guest

I have two websites setup on an IIS Server. In the web.config files i have
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" timeout="120" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->

Inside of IIS, when you click on the website, you view the properties for a
website, click the Configuration button on the Virtual Directory Tab and
click Options to see the Application configuration, Session State is enabled
with a timeout of 90000 mintues.

The browser session for one website works fine, the browser session for the
other website times out earlier than 120 minutes. How can I troubleshoot
the timeouts ?
 
J

Juan T. Llibre

re:
Session State is enabled with a timeout of 90000 mintues.

The maximum session timeout period allowed is 1440 minutes.

Try setting a value equal or lower than 1440.
 
M

Mark Rae

Session State is enabled with a timeout of 90000 mintues.

You're trying to set a Session timeout of over 62.5 days...?

I have to ask - is this a typo...?
 
G

Guest

The configuration item you are looking at in IIS is for Classic ASP only -
and has no effect on ASP.NET apps. You need to use the item in your
web.config.
Peter
 
G

Guest

Mark Rae said:
You're trying to set a Session timeout of over 62.5 days...?

I have to ask - is this a typo...?

No typo.. I'm just trying to "deactive" the timeout by making it as long
as possible. From another post .. this setting is for Classis ASP only and
not for .net . Someone else had said 1440 is the maximum so I will try that
just to see what happens. the only timeout I want to be happening is the
one from the web.config at 120 minutes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top