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

Consistency level in Azure cosmos db

 Consistency level in Azure cosmos db Azure Cosmos DB offers five well-defined consistency levels to provide developers with the flexibility...