13 December 2011

Session-State Modes in asp.net


Session-State Modes in asp.net


1.InProc mode
2.StateServer
3.SQLServer
4.Custom mode
5.Off mode

InProc mode, which stores session state in memory on the Web server. This is
the default.

StateServer mode, which stores session state in a separate process called
the ASP.NET state service. This ensures that session state is preserved if
the Web application is restarted and also makes session state available to
multiple Web servers in a Web farm.

SQLServer mode stores session state in a SQL Server database. This ensures
that session state is preserved if the Web application is restarted and also
makes session state available to multiple Web servers in a Web farm.

Custom mode, which enables you to specify a custom storage provider.

Off mode, which disables session state.


http://msdn.microsoft.com/en-us/library/ms178586.aspx

No comments:

Post a Comment

Comments Welcome

Implementing OAuth validation in a Web API

 I mplementing OAuth validation in a Web API Implementing OAuth validation in a Web API using C# typically involves several key steps to sec...