For some reason my user is logged after only a minute or two, just by visiting some pages. The next login it works normal and the timeout is not an issue at all. How is that possible?
How can I manually set the timeout for the Intranet module?
And can I redirect my logged out user to the login page, when he is logged out while visiting a secured page?
Developer forum
E-mail notifications
Intranet timeout
Posted on 03/05/2010 12:58:26
Replies
Nicolai Høeg Pedersen
Posted on 03/05/2010 13:20:06
The session timeout is setup in web.config and default is 20 minutes. This sounds more like another problem - like the app pool recycles and hence logs of the user.
Try having a look at the servers event log and look for recycles and the reason for recycle and then take a look at the app pools configuration in IIS.
Every protected page in Dynamicweb can have a login dialog - simply add it to the area under permissions - see http://manual.net.dynamicweb.dk/Default.aspx?ID=6646. Then users will be prompted to login to the page they are on and can see that content after login.
Try having a look at the servers event log and look for recycles and the reason for recycle and then take a look at the app pools configuration in IIS.
Every protected page in Dynamicweb can have a login dialog - simply add it to the area under permissions - see http://manual.net.dynamicweb.dk/Default.aspx?ID=6646. Then users will be prompted to login to the page they are on and can see that content after login.
Posted on 04/05/2010 15:09:30
I checked the timeout in the Web.config, and it's set to 20 minutes, as you said. The application pool is set to recycle every 1740 minutes with an idle time-out of 20 minutes, so that can't be it. I can't find anything unusual in the event logs.
What else can it be?
What else can it be?
Nicolai Høeg Pedersen
Posted on 04/05/2010 15:12:51
Hard to say without the server...
Things that might help:
Do you have any custom things that uses sessions? How many sessions each day, and peak period? Is this the only site in the application pool? Try to isolate it in its own pool.
It could be a memory issue - how does memory consumption look over time and when the pool recycles?
Things that might help:
Do you have any custom things that uses sessions? How many sessions each day, and peak period? Is this the only site in the application pool? Try to isolate it in its own pool.
It could be a memory issue - how does memory consumption look over time and when the pool recycles?
You must be logged in to post in the forum