EXPLAIN THE VARIOUS MODES OF STORING ASP.NET SESSION.

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
 1520  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    Explain the various modes of storing ASP.NET session.

    Types of sessions:

    • InProc: The default way to use sessions. InProc is the fastest way to store and access sessions.
    • OutProc:
      i. State server: 15% slower than InProc. Session is serialized and stored in aspnet_state.exe process. Stateserver sessions can be stored on a separate machine too.
      ii. SQL Server: 25% slower than InProc. Used when data is to be serialized and stored in SQL Server database.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!