Answer Posted / 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 |
Post New Answer View All Answers
Is there any alternative to avoid name collisions other then Namespaces?
Which authentication uses a combination of windows and iis authentication?
To add a hyperlink column to the DataGrid which tag is used ?
How can you access the properties and controls of master pages from content pages?
In which event of page cycle is the viewstate available?
what is silver light when will we use silver light,
What are the different properties of server control that exists?
Where sessions are stored?
How to Separate background image and front image from original picture....
How to you can limit Access to Web API to Specific HTTP Verb?
What do you mean by authorization?
What is ASLM?
What is the parent class of all web server control?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
What is asp net objects?