473,396 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 4217
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Perdit | last post by:
My 1st page calls a 2nd that uses same data from a database. What is the best way to get the data in the second: a new call to the database or passing array through session variable?? I seems...
2
by: M | last post by:
Have you come accross the issue described below or know more about it? We have come accross a situation where session variables are getting lost temporarily but come back again if user reloads...
1
by: Dew Baboeram | last post by:
Hi Some mystery. Until I updated my windows xp I could preserve session variables through aspx pages. Now the session variables are getting lost. I cannot preserve them. I have explicitly...
1
by: dsmith-nospam | last post by:
Hello, It would be great if someone knows the answer to this problem I'm getting bogged down with it. Basically I'm working with an ASP.NET solution that uses the Session object to maintain...
2
by: Jim | last post by:
Hi, I am using forms based authentication for my website. Whilst testing I have noticed that occasionaly it appears that the Context.User.Identity.Name is valid however the session variables...
7
by: Erik | last post by:
I have an application that uses sessions variables a lot but one I publish the application on the prod server these variables are lost. The application is written i c# 2.0 and I've set the...
4
by: Sarah Marriott | last post by:
Our website contains session variables that are used to validate if a user is logged in etc. We have found that these variables are randomly lost while navigating the website. We set up some...
1
by: =?Utf-8?B?U00=?= | last post by:
Background We migrated our Asp.net 1.1 application to Asp.net 2.0 ( just migration ) .. It was working fine in local developer machine and one of our development testing server. When we moved...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.