473,386 Members | 1,773 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,386 software developers and data experts.

Losing Session State

I work as a IIS Admin for a company and we have migrated some ASP.NET apps
from IIS 5 to IIS 6. They worked fine under IIS 5. They had their session
state set to time out after 120 minutes and they were using InProc,
cookieless="false". The Machine.config file did not get analyzed before
migrating, before I started withthis company and that file is no longer
available via tape backup. The current machine.config has its session state
set identically to the web.config for this app. I can get the session state
to go less than 20 minutes by altering the web.config, but I can't get it to
exceed 20 minutes. The machine.config has its "allowoverride" set for "True".
I have done several file scans the web.config is getting parsed and there are
no hits on any files in the app folder from the rtvscan.exe process, so it
looks as though real time Norton scanning is not a factor here. In fact,
there does not appear to be anything accessing those files during the 20 plus
minutes that I sit and wait for the session state to timeout.

We are using .Net Framework v1.1.4322.573. I see where an upgrade to
servicepack to v1.1.4322.947 has been known to correct this issue when it
comes to using cookieless sessions,
http://support.microsoft.com/default...b;en-us;828330 , but does
anyone have any clue as to why this might be happening?

Thanks in advance
Nov 18 '05 #1
2 3418
the idletime has to be greater then session timeout. if the appdomain is
unload (idle too long) then inproc session state is lost.

-- bruce (sqlwork.com)

"Jayhawktuba" <Ja*********@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
| I work as a IIS Admin for a company and we have migrated some ASP.NET apps
| from IIS 5 to IIS 6. They worked fine under IIS 5. They had their session
| state set to time out after 120 minutes and they were using InProc,
| cookieless="false". The Machine.config file did not get analyzed before
| migrating, before I started withthis company and that file is no longer
| available via tape backup. The current machine.config has its session
state
| set identically to the web.config for this app. I can get the session
state
| to go less than 20 minutes by altering the web.config, but I can't get it
to
| exceed 20 minutes. The machine.config has its "allowoverride" set for
"True".
| I have done several file scans the web.config is getting parsed and there
are
| no hits on any files in the app folder from the rtvscan.exe process, so it
| looks as though real time Norton scanning is not a factor here. In fact,
| there does not appear to be anything accessing those files during the 20
plus
| minutes that I sit and wait for the session state to timeout.
|
| We are using .Net Framework v1.1.4322.573. I see where an upgrade to
| servicepack to v1.1.4322.947 has been known to correct this issue when it
| comes to using cookieless sessions,
| http://support.microsoft.com/default...b;en-us;828330 , but does
| anyone have any clue as to why this might be happening?
|
| Thanks in advance
Nov 18 '05 #2
Thanks, I am trying that right now. Youare probably right.

Happy Thanksgiving!!

"bruce barker" wrote:
the idletime has to be greater then session timeout. if the appdomain is
unload (idle too long) then inproc session state is lost.

-- bruce (sqlwork.com)

"Jayhawktuba" <Ja*********@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
| I work as a IIS Admin for a company and we have migrated some ASP.NET apps
| from IIS 5 to IIS 6. They worked fine under IIS 5. They had their session
| state set to time out after 120 minutes and they were using InProc,
| cookieless="false". The Machine.config file did not get analyzed before
| migrating, before I started withthis company and that file is no longer
| available via tape backup. The current machine.config has its session
state
| set identically to the web.config for this app. I can get the session
state
| to go less than 20 minutes by altering the web.config, but I can't get it
to
| exceed 20 minutes. The machine.config has its "allowoverride" set for
"True".
| I have done several file scans the web.config is getting parsed and there
are
| no hits on any files in the app folder from the rtvscan.exe process, so it
| looks as though real time Norton scanning is not a factor here. In fact,
| there does not appear to be anything accessing those files during the 20
plus
| minutes that I sit and wait for the session state to timeout.
|
| We are using .Net Framework v1.1.4322.573. I see where an upgrade to
| servicepack to v1.1.4322.947 has been known to correct this issue when it
| comes to using cookieless sessions,
| http://support.microsoft.com/default...b;en-us;828330 , but does
| anyone have any clue as to why this might be happening?
|
| Thanks in advance

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nikander Bruggeman | last post by:
Hi, In a situation where I have 2 servers which are load balanced I keep losing session state, although I store the session state in sql server and use a cookieless session, so that the session...
4
by: Keith-Earl | last post by:
I have been writing ASP.NET apps since the RTM build and have never seen this. I built a simple app that uses session variables on my DEV laptop. All runs well. I have a simple toggle routine...
3
by: Vinay Joseph Mathew | last post by:
Hi, I am having a problem with the Session State. I am running IIS 5 on Win2K. We are using 4 webservers with a load balancer. One of the webservers also acts as a State Server. Here is the...
5
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the...
9
by: Adrian Parker | last post by:
We have a website that works everywhere but on a few PCs on this one site.. Asp.Net 1.1 Server = Windows 2003 Client = XP In the web.config we use - cookieless="false" in the browser settings...
0
by: none | last post by:
Hi, I've got a problem with losing session state in ASP.NET version 2. It does it intermittently - sometimes it tanks - and sometimes it works OK. I've got the ASP.NET state service started...
1
by: =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ== | last post by:
I have an application in which I store state in the Session object. There are two paths of execution in the Page_Load method of the default page. In one path the Session state is preserved across...
1
by: Andy | last post by:
Hi Gang I need help. I have an ASP application that in a nutshell allows data entry on a main page. The problem is I'll have users that enter some data and save it. Then they'll enter some...
4
by: Arthur Dent | last post by:
Hello all, I have some issue which is driving me crazy in testing my site... Every now and then, the session variables in my site all get cleared out. I assume this is because of something...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.