472,146 Members | 1,461 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

Session variables getting lost frequently

Hi,
I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website
has been running for about 1.5 years now. In the past, we used to have random
cases of session variables getting lost, but not frequently. However, since
the past 2 weeks, I am noticing an alarming increase of such session
variables lost cases. My application log shows about 20-30 such errors every
day. We have not changed anything at the server for a long time, so I am
confused as to why would the frequency of session lost jump up all of sudden?
Does it in any way indicate any hardware problems with the server?

I am using InProc mode for session and the IIS worker recycling is set to
default (i think it recycles every 1940 minutes) . Another thing I noticed
(through the IIS logs) is that in about 80-90% of the errors, the client PC
was a Win 98 machine running IE5.5. Does that make any difference?
Any help will be greatly appreciated. Thanks!
Oct 17 '06 #1
2 4141
To add on, I checked the IIS log and found that ALL of the session vars lost
errors involved a POST operation (no session lost errors with GET
operations). Again, is this something indicative of a problem?
Thanks

"maxkumar" wrote:
Hi,
I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website
has been running for about 1.5 years now. In the past, we used to have random
cases of session variables getting lost, but not frequently. However, since
the past 2 weeks, I am noticing an alarming increase of such session
variables lost cases. My application log shows about 20-30 such errors every
day. We have not changed anything at the server for a long time, so I am
confused as to why would the frequency of session lost jump up all of sudden?
Does it in any way indicate any hardware problems with the server?

I am using InProc mode for session and the IIS worker recycling is set to
default (i think it recycles every 1940 minutes) . Another thing I noticed
(through the IIS logs) is that in about 80-90% of the errors, the client PC
was a Win 98 machine running IE5.5. Does that make any difference?
Any help will be greatly appreciated. Thanks!
Oct 17 '06 #2
Hi, maxkumar.

Read this recent thread :

From: al**********@gmail.com
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Session Variables lost on Window 2003 Server
Date: 4 Oct 2006 11:32:46 -0700

It has interesting info for you.

You might want to try to manage your session state using either SQL Server
or the built-in State Server, however, before you nuke your system.

They are much more robust when it comes to persisting state.

InProc is prone to loss of session state.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"maxkumar" <ma******@discussions.microsoft.comwrote in message
news:BA**********************************@microsof t.com...
To add on, I checked the IIS log and found that ALL of the session vars lost
errors involved a POST operation (no session lost errors with GET
operations). Again, is this something indicative of a problem?
Thanks
"maxkumar" wrote:
>Hi,
I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website
has been running for about 1.5 years now. In the past, we used to have random
cases of session variables getting lost, but not frequently. However, since
the past 2 weeks, I am noticing an alarming increase of such session
variables lost cases. My application log shows about 20-30 such errors every
day. We have not changed anything at the server for a long time, so I am
confused as to why would the frequency of session lost jump up all of sudden?
Does it in any way indicate any hardware problems with the server?

I am using InProc mode for session and the IIS worker recycling is set to
default (i think it recycles every 1940 minutes) . Another thing I noticed
(through the IIS logs) is that in about 80-90% of the errors, the client PC
was a Win 98 machine running IE5.5. Does that make any difference?
Any help will be greatly appreciated. Thanks!

Oct 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by M | last post: by
1 post views Thread by Dew Baboeram | last post: by
1 post views Thread by dsmith-nospam | last post: by
7 posts views Thread by Erik | last post: by
4 posts views Thread by Sarah Marriott | last post: by
1 post views Thread by =?Utf-8?B?U00=?= | last post: by
reply views Thread by Saiars | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.