473,472 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IIS6 Restart

Hi,

I heared that one of IIS6 new capabilities is it can keep all session state
variables when I restart the IIS.

When I change web.config and save it during the asp.net application runtime,
the application looses all session variables.

Am I missing some settings or this is by design?

Thanks,

Allan
Nov 18 '05 #1
3 1536
Typically when an ASP.Net app restarts it resets everything, as is the case
when the web.config file is updated. It could be you've heard about being
able to store the ASP.Net session state in a SQL Server store. I believe in
this scenario it can survive an application restart, but I haven't toyed
with that in a year or so, so I'm not exactly sure anymore.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Ali.M" <Ha**@Spam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

I heared that one of IIS6 new capabilities is it can keep all session state variables when I restart the IIS.

When I change web.config and save it during the asp.net application runtime, the application looses all session variables.

Am I missing some settings or this is by design?

Thanks,

Allan

Nov 18 '05 #2
This is a known behavior.

If the Session information is configured to be stored in SQL Server, then
you can avoid resetting of the Session information.

Pl. try Im not 100% sure but I did try something like before for testing and
i believe it worked for me.

Good Luck
"Ali.M" <Ha**@Spam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

I heared that one of IIS6 new capabilities is it can keep all session state variables when I restart the IIS.

When I change web.config and save it during the asp.net application runtime, the application looses all session variables.

Am I missing some settings or this is by design?

Thanks,

Allan

Nov 18 '05 #3
you can store you session in another server runing asp.net StateService
when you asp.net appDomain Recyled, you can retrieve your session object
from the StateServer

"Ali.M" <Ha**@Spam.com> дÈëÏûÏ¢
news:#3**************@TK2MSFTNGP11.phx.gbl...
Hi,

I heared that one of IIS6 new capabilities is it can keep all session state variables when I restart the IIS.

When I change web.config and save it during the asp.net application runtime, the application looses all session variables.

Am I missing some settings or this is by design?

Thanks,

Allan

Nov 18 '05 #4

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

Similar topics

1
by: Ole Kramer, SFS GmbH | last post by:
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini...
5
by: Larry Neylon | last post by:
Hi, I am having problems with our IIS6 server serving out of date javascript files in our ASP scripts. It appears to be an intermittent problem, but causes all kinds of headaches when working...
0
by: Raul de la Flor | last post by:
Hi, we just upgrade a win2k server to win2k3. First we depromoted it, then we made the upgrade. The webs with ASP worked OK. Then we made the DCPROMO and promoted it. After restart ASP's...
3
by: deja | last post by:
Hi, In IIS6, is there a way to reset an individual web application rather than the whole IIS? Does that happen when you change something in Web.config and save it? Thanks, Chumma Dede
5
by: Terry Strachan | last post by:
Hi, I have an asp.net webapp that works fine on my development machine, win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the following error on postback of any page; ...
0
by: felippe | last post by:
Hi! I have got IIS 6.0 on Windows 2003 Server. I have installed HTTP handler (as simple reverse-proxy) - code below. I created virtual category with this dll and Wilcard application mapping set to...
1
by: Luwk | last post by:
I have an application that communicates with the Company's Active Directory to get the OU of the users. This said application is an ASP.Net web site and has the Windows Authentication enabled. ....
2
by: Andrew Wan | last post by:
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One hosts IIS6 website, and the other hosts our DCOM service program. Our website is ASP/XSL. An ASP page uses...
1
by: lilOlMe | last post by:
Can you install IIS6 on a system other than Windows Server 2003? I'd like to install IIS6 on Windows XP. I've been trying to find out the system requirements for IIS6 but I haven't found a clear...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.