What are Session states available and its Uses?
Answer Posted / 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 View All Answers
How many types of cookies are there in asp.net?
Explain the working of passport authentication.
How to you can limit Access to Web API to Specific HTTP Verb?
What is the use of express session?
What is viewstate? In which event of the page life cycle, is the viewstate available?
Explain the difference between web user control and web custom control?
What are the data controls available in asp.net?
What is session in http request?
What is difference between or and orelse?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
Explain the asp.net session state modes.
What is tracing? Where is it used?
What is _dopostback in asp net?
What are the security types in asp.net?
Explain the various authentication mechanisms in asp.net.