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

Explain difference between dataset and datareader?

0 Answers  


Which browsers support the xmlhttprequest object?

0 Answers  


What does occur first in ASP.Net, Authentication or Authorization?

0 Answers   MCN Solutions,


we are working in .net namespaces like using system.io,system.text. these namespace before we use "using " keyword what means of using?

7 Answers   CEI, CSC, HCL, Tech Mahindra,


what is the difference between primary key and foreign key?

2 Answers  






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

0 Answers   MindCracker,


Explain form level validation and field level validation?

0 Answers  


To match the two different controls which control would we use ?

2 Answers   Siebel,


How to authenticate users using web.config ?

2 Answers   Accenture, Amazon, BirlaSoft, Cap Gemini,


What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

1 Answers   Syntax Softtech,


What is server transfer?

0 Answers  


What r the asp.net list controls and difference between them?

0 Answers  


Categories