-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: MVP_mayank
Message 1 in Discussion
Regards,
Mayank Pujara ([EMAIL PROTECTED])
One of the many features that makes ASP.NET better than ASP is the way it
manages session state. By default, ASP.NET session state is stored in the
same process as ASP.NET applications. But a simple configuration change lets
you move session state to an external "state server" process that will
survive IIS restarts. You can even run the state server on a separate
machine, in which case session state will survive even if the machine
hosting the ASP.NET application goes down completely. For beta testers
running recent (post-Beta 1) builds of ASP.NET, here's how to make the
configuration change:1) Create a text file named Web.config. Add the
following text to it and copy the file to the directory where your ASP.NET
application resides:
<configuration>
<system.web>
<sessionState
mode="stateserver"
stateConnectionString="tcpip=localhost:42424"
/>
</system.web>
</configuration>
2) Open a command prompt window and type NET START ASPNET_STATE to start the
state server. Your application should now run as before, but if it uses
session state, that state in now created in an external process named
Aspnet_state.exe. You can prove that session state stored this way is more
robust by starting and stopping IIS. Any data you tucked into session state
before IIS was restarted will still be there after the restart. For even
greater robustness, you can change "localhost" to an IP address to move
session state to a remote machine.
_________________________________________________________________
Life on the fast tracks! http://server1.msn.co.in/sp04/tataracing04/ Know
all about it!
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]