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 |
What is asp.net and ado net?
How do you trap errors in ASP and how do you invoke a component in ASP ?
Explain asp.net page life cycle?
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?
What are the main advantages of using asp.net?
What is cas?
What are the types of assemblies and where can u store them and how ?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What does session_start () do?
What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.
Define ViewState and how can it be used?
Difference between singleton and singlecall.
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)