Disable Session State at the Application Level

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain login control and form authentication.

565


What are session cookies?

547


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

649


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

5693


Explain the difference between webfarm and webgardens in .net?

548






How asp.net mvc differs from asp.net web forms? : asp.net mvc

558


What is custom attribute?

572


What is asp.net caching?

580


Where is asp.net view state stored?

521


What is the difference between globalization and localization?

493


Explain the difference between or and orelse?

543


Is razor a programming language?

535


what is command line compiler.what are the steps and how it is related to debugging.

1417


I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?

546


Describe the .net base class library.

537