ASP.NET Interview questions


Total available count: 47
Subject - Microsoft Technologies
Subsubject - ASP.NET

Explain about different states of session?

Session is classified into three types,
1. InProc
2. StateServer
3. SQLServer
4. Custom
5. Off
 
1. InProc: Which stores the session state on the same web server. This is the only mode that supports Session_OnEnd event.
2. StateServer: which stores session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.
3. SQLServer: Which stores session state in a SQL Server database. Set the sqlConnectionString attribute to a connection string for your SQL Server database.
4. Custom: Custom mode depends on the user choice.
5. Off: There will be no session state.



Next 5 interview question(s)

1
What is session state?
2
What is application state?
3
What is Query String?
4
What is cookie?
5
What is hidden fields?