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

What are validators and list some validators of asp.net?

0 Answers  


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

0 Answers   Quest,


What is the best way to search any exact information on google?

3 Answers   Intellevate,


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

0 Answers  


How to display Alert in ASP.NET

0 Answers   HCL,


Name two properties common in every validation control?

9 Answers   Siebel Systems,


Elaborate differentiation between Cache and Application?

0 Answers   QuestPond,


What is view state and how this can be done and was this there in asp?

11 Answers   Accenture, KDOT, Mphasis,


What is an iHTTPModule, and explain its implementation with its limitations?

1 Answers   Siebel,


Explain the use of resource manager class in .net.

0 Answers  


Securitywise What are the Enhancements in 2.0?

0 Answers   Microsoft,


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

0 Answers  


Categories