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 tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

0 Answers  


What is server redirect?

0 Answers  


What is AutoPostback?

0 Answers  


What is query string with example?

0 Answers  


Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?

3 Answers   Visual Soft,






what is code access security,role based security explain with example

1 Answers   Infosys,


when to use webservice and when to use remotong diff between them

3 Answers  


what are httphandlers and httpmodules.and their differences.

1 Answers   Siemens,


How is my content secured from unauthorized access?

0 Answers  


In which event are the controls fully loaded?

0 Answers  


Hi..I have created a website in Asp.net with C# i want to add Chinese language in my website..could any body tell me that how can i add dynamically this language on user's request...??? thanks n advance...

1 Answers  


What is enableviewstate in asp net?

0 Answers  


Categories