Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
InProc Session Mode Serialization is not required to store data - State Management System
Home
>>
Category
>>
ASP.NET (MCQ) questions and answers
>>
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
ANSWER: InProc
Related Content
ASP.NET Introduction (
27
)
ASP.NET HTML and Web Server Control (
13
)
Validation Control and Web page navigation (
13
)
Master Pages (
14
)
ASP.NET Security (
26
)
State Management System (
22
)
ASP.NET AJAX (
18
)
ADO.NET (
52
)
Caching pages and data (
17
)
ASP.NET Exception Handling (
0
)
ASP.NET Globalization and Localization (
14
)
Basic concept of ASP.NET (
12
)
Csharp.Net (
27
)
LINQ (
26
)
Discussion
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 asp.net 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.
Example
In web.config, we have to define the session mode as follows.
<system.web>
< 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.)
MCQs
English
Tutorials
Download
▲