Disable Session State at the Application Level

Answers were Sorted based on User's Feedback



Disable Session State at the Application Level..

Answer / skmdali786

**
The following steps demonstrate how to disable
session state at the Application level, which affects all
pages in the application:
Start Microsoft Visual Studio .NET, and create a new ASP.NET
Web Application.
In Solution Explorer, double-click Web.config to view the
contents of this file.
Locate the <sessionState> section, and set the mode value to
Off.
Save the file and/or the project to disable session state
throughout all pages in the application.

Is This Answer Correct ?    6 Yes 0 No

Disable Session State at the Application Level..

Answer / k.vijayakumar

Go to Web.Config file under the <system.web>
use the tag <sessionstate mode="off"> then we restrict the
session state in entire project

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain the advantages of caching?

0 Answers  


Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process

1 Answers   HCL, Siebel Systems, Visual Soft,


What is asp.net used for?

0 Answers  


Describe and In Process Vs Out of Process component. Which is faster?

2 Answers   Syntax Softtech,


What is difference between web config and global asax?

0 Answers  


What are the types of session in asp.net?

0 Answers  


When was asp.net released?

0 Answers  


What are the differences between clr & cts?

0 Answers  


Explain the differences between managed and unmanaged code?

0 Answers  


Types of caching. How to implement caching?

2 Answers   Microsoft,


What is the difference between a.Equals(b) and a == b?

4 Answers  


What are the differences between Trace and Debug?

2 Answers   Accenture,


Categories