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)

What is session state?
What is application state?
What is Query String?
What is cookie?
What is hidden fields?