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
Do cookies store passwords?
How to Insert/Add in ASPXgridview
What is redirectpermanent in asp.net?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
14. What are your Future Plans for Swatz Oils GROUP U.K?
how to elimainte the similar data from the different tables
When Cookies are expired in ASP.NET?
Why will you usually create an aspnet user account in the database for an asp.net web application?
Can you explain the basic use of dataview?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
What is the compiled object?
Do you support digital rights management to protect my videos?
What is full trust in asp.net?
What is difference between viewstate and session in asp net?