top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are Session state modes in ASP.NET?

+1 vote
51 views
What are Session state modes in ASP.NET?
posted Sep 1, 2015 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

ASP.NET supports different session state storage options:

In-Process is the default approach. It stores session state locally on same web server memory where the application is running.
StateServer mode stores session state in a process other than the one where application is running. Naturally, it has added advantages that session state is accessible from multiple web servers in a Web Farm and also session state will remain preserved even web application is restarted.
SQLServer mode stores session state in SQL Server database. It has the same advantages as that of StateServer.
Custom modes allows to define our custom storage provider.
Off mode disables session storage.​

answer Sep 1, 2015 by Shivaranjini
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...