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
What is session handling in a webfarm, how it can work with its limits?
What is Web API Routing?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
Which dll handles the request of .aspx page?
How long should a session id be?
Can you explain the importance of finalize method in .net?
Explain advantages of caching?
Is sql backend or frontend?
Disable browser cache for entire ASP.NET website?
Explain what is viewstate?
What is application session?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
What are the event handlers that we can have in global.asax file?
What is css and what is it used for?
What is a SESSION and APPLICATION object?