Disable Session State at the Application Level
Answers were Sorted based on User's Feedback
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 |
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 |
How ASP.NET page works?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Difference Between ReadOnly and Constant Variable in compile time and Run Time.
3 Answers Phoenix Technologies, Quadrant,
What is web.config. How many web.config files can be allowed to use in an application ?
10 Answers Accenture, BirlaSoft, Infosys, InterGraph, Satyam, Wipro,
What is active web page?
Where is session data stored in asp net?
What is directive in asp net?
how we declare interface
Can you use c# without .net?
What is caching and types of caching ?
What is server side in asp.net?
In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?
5 Answers Syntax Softtech, TCS,