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! 2 4254
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!
Hi, maxkumar.
Read this recent thread :
From: al**********@gm ail.com
Newsgroups: microsoft.publi c.dotnet.framew ork.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******@discu ssions.microsof t.comwrote in message
news:BA******** *************** ***********@mic rosoft.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!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 to me that avoiding a new call will speed up things but my
concerne is that I have read many posts with caution messages againts
session vars.
Has anybody tested session var stability in this common scenario?
|
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 the same page.
Found that whenever the server has to load/compile (not sure which) the
website dlls (for eg the first time a page is requested from a website) and
if the browser makes a subsequent request for another page (for eg the first
page...
|
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 modified the web.config file to
enableSessionState, but still the variables are getting lost.
I found a knowledgbase article 316112 - PRB Session Variables Do Not Persist
Between Requests After You Install Internet Explorer Security Patch
MS01-055.htm...
|
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 state. When I use IIS to browse the .aspx pages the
session state works but when I step through the code with Visual
Studio's debugger the session variables are lost although the session
ID stays the same.
When I say the session variables are lost,...
|
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 that I have created as the website is
used have been lost.
I think it is something to do with the session timeout. I thought when the
session times out (session varaibles lost) the user context is cleared as
well - or is this an incorrect...
| |
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 statServer timeout to 20 min in the the
web.config file. Any ideas why the variables are lost?
|
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 basic code (as shown below) which used a meta tag to refresh
an aspx page every second. It tests whether there is any content in a
session variable, if not then it writes a timestamp to a text file, recreates
the data in the variable and continues....
|
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 to staging server which is also running on windows 2000 server
and we started facing a peculiar issue.
We are able to login successfully every time , however , a click on a link
to move to a a different page on a hyper link.
<asp:HyperLink...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |