Disable Session State at the Page Level
Answer / skmdali786
1)Start Microsoft Visual Studio .NET, and create a new
ASP.NET Web Application.
2)In Solution Explorer, double-click the Web Form for which
you want to disable session state.
3)Click the HTML tab.
4)At the top of the page, add EnableSessionState="false" in
the @ Page directive. The modified attribute should appear
similar to the following:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
AutoEventWireup="false" Inherits="WebApplication1.WebForm1"
EnableSessionState="false" %>
5)Save the file and/or project to disable session state
throughout all pages in the application.
Hope it is Clear
| Is This Answer Correct ? | 7 Yes | 0 No |
What is data reader in asp.net?
What are the built-in objects in asp.net?
how to get the vb6.0 COM Component in to the .Net application?
Can we have 2 web config files?
What are the cookies types in asp.net?
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
How to save Link of a Webpage in excel sheet?
Can we override the enablepartialrendering property of the scriptmanager class?
Where would you use an IHttpModule, and what are the limitations of anyapproach you might take in implementing one?
what are the different ASP.NET Application Folders?
how to use html code in asp source code?
What is difference between ispostback and autopostback in asp 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)