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

How many classes can a single .NET DLL contain?

14 Answers   Siebel Systems,


How does Garbage collector(GC) works in .net

14 Answers   Accenture, HCL, Kekran Mekran, People Tech, Wipro,


What is meant by web application?

0 Answers  


can we call webservice in Html form?

1 Answers   Bank Of America, BirlaSoft, Microsoft,


what is asp.net

12 Answers   Dynacs,






What do you mean by serialize and marshalbyref?

0 Answers  


One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part

1 Answers   WebInfo,


What parameters can you pass in the url of the api?

0 Answers  


what is cross page posting

3 Answers  


What is advantage of asp.net?

0 Answers  


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

0 Answers  


Explain the role of global.asax?

0 Answers  


Categories