Session Dies very quickly

G

Guest

Hi

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm using the InProc mode. But my session is expirng very quickly max 5 mins. There are almost 200 users who will be logging into system everyday. I'm running my application on Win 2000 with IIS 5.0 and its a secure site

Thank
Raj
 
B

bruce barker

check in the event log to see if asp.net is recycling. with inproc, any
recycle or recompile will lose session state. Virus programs can cause
recycles.

if I had 200 user, I would not use inproc session, unless losing it has low
impact on the site.


-- bruce (sqlwork.com)





Raj said:
Hi,

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm
using the InProc mode. But my session is expirng very quickly max 5 mins.
There are almost 200 users who will be logging into system everyday. I'm
running my application on Win 2000 with IIS 5.0 and its a secure site.
 
S

Saravana [MVP]

Web Application in asp.net may restart due to following reason because of
which your session variable might get lost when it is inproc mode.

1. Various attributes (for example, the memoryLimit attribute) have
particular settings in the <processModel> section of the configuration
file.
2. The Global.asax or the Web.config file was modified.
3. The Bin directory of the Web application was modified.
4. Virus scanning software touched some .config files

Check out this support link for more details.
http://support.microsoft.com/default.aspx?scid=kb;en-us;324772


--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



Raj said:
Hi,

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm
using the InProc mode. But my session is expirng very quickly max 5 mins.
There are almost 200 users who will be logging into system everyday. I'm
running my application on Win 2000 with IIS 5.0 and its a secure site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top