This topic is locked

Problem withSession expired

3/5/2008 3:51:02 PM
ASPRunnerPro General questions
Y
yairilan author

Hi,

I have a problem when user wrtites a long text in the add page, and when he clicks the "Save" button it tells him that the session has expired. I know it's because he linger with the writnig, but is there any solution for that? sometimes it happans after a only a minut!

Can I control the time for "Session expired"? Can I disable it?

TX very much,

Yair.

Sergey Kornilov admin 3/7/2008

As a first step - check in IIS settings session timeout settings:

http://xlinesoft.com/articles/session_expired.htm
If you use Windows 2003 things are more complicated.

Besides setting session expiration to 30-60 minutes you also need to configure application pool.

By default application pool is configured to recycle worker thread after 5 minutes of inactivity.

You might need to create a separate application pool for your website and set recycle time to 30-60 minutes.
Unfortunately this is something that only web hosting provider can do and most of them will be unwilling to do so.

Increasing session timeout makes web server consume more resources.