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 are server side controls?

0 Answers  


What is Bundling and Minification in MVC?

0 Answers   HCL,


Can we store PROGID information in database and dynamically load the component ?

1 Answers   Digital GlobalSoft, e4e,


What is a response cookie?

0 Answers  


What is the difference between repeater over datalist and datagrid ?

1 Answers  






What is event in asp.net?

0 Answers  


How information about the user's locale can be accessed?

0 Answers   MindCracker,


What are different templates available in Repeater,DataList and Datagrid ?

1 Answers  


What is a postback ispostback and autopostback in asp net?

0 Answers  


I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'

2 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?

26 Answers   Syntax Softtech,


when a request is made in Life cycle of ASP.NET page .

0 Answers  


Categories