Modes of storing asp.net session, DOT NET Programming

What are the modes of storing ASP.NET session?

1) InProc: - In InProc mode Session state is stored in the memory space of the Aspnet_wp.exe process. That is the default setting. If the IIS reboots or if web application restarts then session state is lost.

2)State Server:-In StateServer mode Session state is serialized and stored in a separate process (Aspnet_state.exe); therefore, the state can be stored on a distinct computer(a state server).

3)SQL SERVER:- In  the SQL SERVER mode Session state is serialized and stored in a SQL Server database.

The Session state can be specified in element of application configuration file. By Using State Server and SQL SERVER session,  state can be shared across web forms but note this comes at speed cost as ASP.NET require to serialize and deserialize data over network continuously.

Posted Date: 9/22/2012 2:02:59 AM | Location : United States







Related Discussions:- Modes of storing asp.net session, Assignment Help, Ask Question on Modes of storing asp.net session, Get Answer, Expert's Help, Modes of storing asp.net session Discussions

Write discussion on Modes of storing asp.net session
Your posts are moderated
Related Questions
Describe the XmlWriter class. The XmlWriter class is used to write XML to a stream, a file, or a Textwriter object. This class works in a forward-only, non-cached manner. You c

I need C# AAC sound receiver over WCF Project Description: I want a WCF method which is able to receive a byte stream of an AAC sound file from iPhone device and save it on t

I want help to update and customize existing POS system Project Description: We have pharmacy chain stores with existing POS system linked via VPN to server with local user o

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

What is Object Oriented Programming? This is a problem solving process to develop software systems. This is a technique to think real world in terms of objects. The Object maps

What are the benefits of using of ADO.NET in .NET 4.0. The following are the benefits of using ADO.NET in .NET 4.0 are as follows: Language-Integrated Query (LINQ) - Adds

What are the different elements in Functions points? 1) Internal Logical Files (ILF): Following are some points to be noted for ILF:- The ILF are logically related d

Who is a stakeholder? The stakeholder is anyone who has something to gain or lose as a result of the completion or failure of the project or phase. The stakeholder is not on


What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? Some of major differences between a stored procedure and user defined are as follows:-