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
This assignment will have you create a simple static web page. It should look something like this: The colored boxes do not represent colors I want to see, make it look nic

What is the use of a .disco file? A client application uses a .disco file to locate or discover the documents that have the description of a Web service. The .disco file having

Project Description: Looking for a JQuery expert that will develop a customizable product selection page to work with our asp.net website. Product selection, size, quantity, pri

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.

How many types of diagrams are there in UML? There are nine types of diagrams in the UML as shown below:- 1)Use case diagram: The use case diagram describe "WHAT" of a

What is Object Relational Designer? The 0/R Designer provides a visual design surface to make LINQ to SQL entity classes and associations (relationships) that are based on obje

Question: (a) The ObjectDataSource control is an alternative design approach to using AccessDataSource or SqlDataSource controls. Explain and illustrate how an ObjectDataSourc

How does CAS works? There are two key methods of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is

What is an application domain? Previously "PROCESS" were used as the security boundaries. One of the process has its own virtual memory and does not overlap the  another proces

Project Description: It is online portal for hotel n packages sales. The project requires to be built on sql, Jquery and c#. The project should be submitted with all coding a