InProc Session Mode Serialization is not required to store data - State Management System

Q.  Which Session Mode Serialization is not required to store the data?
- Published on 28 Jul 15

a. Off
b. InProc
c. StateServer
d. SQLServer



  • Raj   -Posted on 30 Sep 15
    InProc Session mode does not required serialization to store the data. This is the default session mode in ASP.NET. There are different types of session mode available in such as
    • Off
    • InProc
    • StateServer
    • SQLServer
    • Custom
    InProc session is mode is good compare to other but it will lose data if we restart the server. InProc session mode stores its session data in a memory object on the application domain.
    In web.config, we have to define the session mode as follows.
    < sessionState mode=”InProc” timeout=”30” />
    </ system.web>

Post your comment / Share knowledge

Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)