View previous topic :: View next topic |
Author |
Message |
xGDI -
Joined: 30 Jan 2007 Posts: 2
|
Posted: Tue Jan 30, 2007 10:06 am Post subject: Session length |
|
|
How can I set the Session lenght of ASP.NET Applications in the webserver? It seems that Abyss Webserver ignores the Web.config settings of session length. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Jan 30, 2007 3:41 pm Post subject: Re: Session length |
|
|
xGDI,
Our guess is that you're using InProc session storage.
When you use InProc session storage, sessions are stored in the memory of the ASP.NET engine. When the engine is stopped, all session information is lost.
This is what is occurring in your situation: actually, when Abyss Web Server runs an ASP.NET script/application for the first time, it launches the ASP.NET engine and maintains it running. If no requests targeting that engine are received within a certain amount of time, it is stopped by Abyss Web Server.
That timeout is controlled by the FastCGI timeout parameter which is set by default to 240 seconds (4 minutes). By the way, the ASP.NET engine in Abyss Web Server is using FastCGI to communicate with the server hence the effect of the FastCGI timeout on it.
So all you have to do is to select "Scripting Parameters", then "FastCGI Parameters" > "Edit", and set the FastCGI timeout to a larger value. If your configuration file Web.config has the session timeout set to 30 minutes, set your FastCGI timeout should be set to value greater than 30 minutes (1800 seconds). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
xGDI -
Joined: 30 Jan 2007 Posts: 2
|
Posted: Fri Feb 02, 2007 10:35 am Post subject: |
|
|
Thanks for the response, I'll try that. |
|
Back to top |
|
 |
|