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 are the main components of .NET Framework? .NET Framework gives enormous benefits to software developers in comparison to the advantages given by other platforms. Microsof

Finding Average of Array Elements - C# Program I need assignment help for Finding Average of Array Elements in C#. Can anybody send me there ideas?

I need a project which shows Paypal integration with ASP.net website We have events website written in C# and ASP.net. We want to integrate Paypal using API and have a full inte

What is cross page posting? By default, the button controls in the ASP.NET pages post back to the similar page that contains button, where you can write an event handler for th

#question.cookies working with data.

What is PLINQ? PLINQ stands for Parallel Language Integrated Query. It is the parallel execution of LINQ, in which a query can be implemented by using multiple processors. PLIN

I need Custom Login Page for Sharepoint 2013 with Active Directory Project Description: I would like to prepare a webpart or an application for Sharepoint 2013 foundation.

You can post back to any of the page and pages in other application, too. But if you are posting pages to other application, the PreviousPage property will return null. This is an

How can you increase SQL performance? 1)Keep your indexes as narrow as possible. This reduces the size of the index and decrease the number of reads needed to read the index.

help me to prepare the above charts for my online vegetable selling project