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

Do you know using sql cache invalidation?

0 Answers  


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


State Management (viewstate, session etc)

2 Answers   Syntel,


Can we store PROGID information in database and dynamically load the component ?

1 Answers   Digital GlobalSoft, e4e,


How do we get only edited/deleted/inserted records from a Dataset?

1 Answers   Syntax Softtech,






What are session state modes?

0 Answers  


Can we use MSSql as backend in asp.net...if yes then How.?

0 Answers   MCN Solutions,


What was the difference between machine.config and web.config files

17 Answers   Assurgent, NIIT, TCS,


What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


What is the usage of DelegatingHandler?

0 Answers  


What is the use of directives & explain with example?

2 Answers   C Squared Systems,


How can you debug your.net application?

0 Answers  


Categories