Override session timeout

L

lekshmi

In my machine.config file, httpRuntime
executionTimeout="90".
and it dosent have <location> attribute nad
<allowOverride> attribute.
But my thread dies off after 1hr.
In the web.config, i have given httpRuntime
executionTimeout="7200"

Why is this happening?
 
J

Juan T. Llibre

The httpRuntime executionTimeout attribute is expressed
in seconds, so it can hardly have an effect for the session
setting you want.

You could be creating a performance bottleneck
by specifying 7200 for httpRuntime executionTimeout,
since that's the "choke" time for a request which isn't
being completed.

Set it back to 90.

The web.config value you need to set, if you need 2 hours
duration for your sessions, is the sessionState timeout :

<sessionState timeout="120" />

Be forewarned that this setting ( 120 minute session-length )
will require quite a bit more memory resources than the
20 minute default setting.
 

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,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top