Modes of storing 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 session, Assignment Help, Ask Question on Modes of storing session, Get Answer, Expert's Help, Modes of storing session Discussions

Write discussion on Modes of storing session
Your posts are moderated
Related Questions
what is Entity-relationship diagram for e-resource planner software

What is the difference between thread and process?  Thread - is used to implement more than one program at a time. process - implements single program A thread is a path

What is XPath? XPath stands for XML Path. It is a language used to access dissimilar parts of an XML document, such as elements and attributes.

How can we know a state of a thread? The "ThreadState" property is used to get complete detail of a thread. The Thread can have one or a combination of status.System.Threading.

Small website using ASP.NET MVC 4 EntityFramework 5 Project Description: We are seeking a developer to a ASP.NET MVC4 EntityFramework website using the subsequent tools: Visu

Generate Function to Create Signed_Body for Instagram Project Description: I want the exact Signed_Body for Instagram The only difference is that I want the most recent ve

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

Finding the frequencies - C# Program: Please let me know how to find Frequencies in C#.

What is Reference counting in COM? The Reference counting is a memory management method used to count the number of times an object has a pointer referring to it. The very firs

Project Description: We require some routines written in C# (.NET) to: * Parse several RESTful APIs to change and push data to RabbitMQ * Pop objects from RabbitMQ and inp