Session Timeout

G

Guest

Hello,

I have a web application in aspx and vb.net 2003. The users are complaining
about session timeout (10 - 60 minutes). My web config file is set up as:
- <authentication mode="Forms">
<forms
name="ACMS"
loginUrl="frmLogin.aspx"
path="/ACMS"
protection="All"
timeout="3600"
slidingExpiration="true">
</forms>

....

<httpRuntime executionTimeout="36000" />

....

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1; Trusted_Connection=yes"
cookieless="false"
timeout="3600"
/>
I tried to change the timeout configuration in IIS, but I still have the
problem.
Any ideas??
thanks
Paulo
 
G

Guest

Paulo said:
Hello,

I have a web application in aspx and vb.net 2003. The users are complaining
about session timeout (10 - 60 minutes). My web config file is set up as:
- <authentication mode="Forms">
<forms
name="ACMS"
loginUrl="frmLogin.aspx"
path="/ACMS"
protection="All"
timeout="3600"
slidingExpiration="true">
</forms>

...

<httpRuntime executionTimeout="36000" />

...

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1; Trusted_Connection=yes"
cookieless="false"
timeout="3600"
/>
I tried to change the timeout configuration in IIS, but I still have the
problem.
Any ideas??
thanks
Paulo

You have specified the timeout to be 60 hours. The server might be
running out of resources because you have too many old session objects
in memory, and recycles the application.

Either that, or the web site is simply set up to recycle the
application. Check the settings in IIS.
 
G

Guest

Hello Göran,

Something evil is happening...

Looks like I have no control of session timeout.
I tried to change the expiration time on web.config and IIS to 1 min, 5,min
and so on, but the timeout occurs only 10-60 min later the application is
running.

What can I do to control it?

About the recycle problem you've mentioned, how can I clean up session
objects without expiring the session?

Thanks again,

Paulo
 
G

Guest

Hello George,

Your solution looks very nice, but I want to avoid modifying every single
page of the application. Do you know how can I do what you said, but
applying changes in only one place?

Thanks a lot,

Paulo
 

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

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top