What are Session states available and its Uses?

Answers were Sorted based on User's Feedback



What are Session states available and its Uses?..

Answer / prasad

In process
Out Process
--State Server
-- Sql Server

Is This Answer Correct ?    6 Yes 0 No

What are Session states available and its Uses?..

Answer / santosh deshmukh

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

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

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

Session state can be specified in <sessionState> element of
application configuration
file. Using State Server and SQL SERVER session state can
be shared across web farms
but note this comes at speed cost as ASP.NET needs to
serialize and deserialize data over
network again and again.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is css and what is it used for?

1 Answers  


Explain authorization levels in .net ?

1 Answers  


What is csrf attack in asp.net?

1 Answers  


what are types of viewstate

1 Answers  


What is the difference between session and viewstate?

1 Answers  


What are runtime hosts?

4 Answers   Microsoft,


What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?

2 Answers   USi,


What are the advantages of using session?

1 Answers  


what is difference between java and .net

11 Answers   Base2 Infotech, Karur Vysya Bank KVB, TATA AIG, TCC,


What is the role of global.asax?

10 Answers   Infosys,


Why we go for mvc instead of asp.net? : Asp.Net MVC

1 Answers  


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

1 Answers  


Categories