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 many types of file extensions for razor views in ASP.Net MVC?
Why is xap important?
What does asp stand for in asp.net?
Explain about the Class view window?
What are the 4 tenants of SOA/D.
Why would anyone need to implement their own hashtable or linked list?
What are the major differences between asp.net1.1 and asp.net 2.0?
8 Answers CTS, Deloitte, Mphasis, Vison,
A Web Service Can Only Be Written In .net. Is it True??
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What are the different authentication modes in asp.net?
RequiredFieldValidator--write code in javascript
Explain the use of resource manager class in .net.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)