Session length

 
Post new topic   Reply to topic    Aprelium Forum Index -> ASP.NET
View previous topic :: View next topic  
Author Message
xGDI
-


Joined: 30 Jan 2007
Posts: 2

PostPosted: Tue Jan 30, 2007 10:06 am    Post subject: Session length Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jan 30, 2007 3:41 pm    Post subject: Re: Session length Reply with quote

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 View user's profile Send private message Send e-mail
xGDI
-


Joined: 30 Jan 2007
Posts: 2

PostPosted: Fri Feb 02, 2007 10:35 am    Post subject: Reply with quote

Thanks for the response, I'll try that.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> ASP.NET All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group