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 to do state management in ASP.NET?
What is asp.net caching?
Describe session handling in a webfarm?
suppose we have two object;obj1 and obj2 can we assign obj2 to one1; and if yes; then after assigning suppose we delete obj2 then obj1 will retain obj2 value or not.
The technical part was on ASP.Net only of web services.
what is asp dotnet
What is the use of worker process in asp.net?
Name the application folders present in asp.net 2.0?
relacement of websevices in .net 3.0?
My website has around 100 aspx. Out of this, a certain 20 aspx files should be made available to the users only if they are logged in. How can I achieve this with the web.config file?
What is data reader in asp.net?
Contrast the use of an abstract base class against an interface?
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)