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
What is a runtime engine? A runtime engine of WF gives the basic functionality to execute and manage the workflow lifetime. It runs within the host process and is responsible f

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

I have the project that takes screen shots and saves in the specific folder.(eg.Screen0001) but the problem is that if i close application and run it again then it replace the exis

Describe session handling in a web farm, how does it work and what are the limits ?    In ASP.NET there are three ways to manage session objects. One support the in-proc mechani

What are benefits and limitations of using Cookies? The benefits of using cookies for state management are as follows:- 1)    There is no server resources required as they a

I need Programmer to extracting data Project Description: Programmer role A skilled programmer is required to build a standalone module to extract, parse and store in data

What is the use of attribute  ? This attribute works as a compatibility option. We know that ASP worked in STA model and ASP.NET works in MTA model, but what if your ASP.NET

What is aspect oriented programming? The Aspect-oriented software development is the latest technology for the separation of the concerns (SOC) in the software development. The


What are the features of ADO.Net ?  ADO.NET features: 1. Disconnected Data Architecture 2. Data cached in Datasets 3. Data transfer in XML format 4. Interaction wit