gh9
gh9

Reputation: 10703

Session timeouts

setting the timeout for a site vie the web.config to 60 minutes.

<SessionState mode="stateServer" ....... timeout="60">

how is this different then setting the timeout vie IIS 6.0??

Right click on website
go to properties
click on website tabe
connections section -> connection timeout: XXXXXX?

***If a set a different value in the web.config vrs IIS which value would be overriden?

Upvotes: 0

Views: 212

Answers (2)

Richard Friend
Richard Friend

Reputation: 16018

These two things are totally different, Connection timeout is the maximum time a connection can be kept open before it is terminated.

A Session timeout is the amount of time a session is kept alive before it is abandoned.

Update as requested

I think the OP is refering to Connection Timeout as in this image, rather than the classic asp session timout that is refered to in your link, this is how long a connection to the server wll be kept open, or another way of thinkning about it would be how long a request is allowed to take to execute..

enter image description here

Upvotes: 3

Related Questions