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 event handlers can I include in Global.asax ?
What is Master Page in Asp.net?
How can we inherit a static variable?
How do you declare static variable?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
hi i am varinder. i am very eager to learn ASP.net in C#. i am beginer to it. i have refer some books but i found it tuff to understand. their language is tuff. So please tell me the best site or best book to learn ASP.net in C#. i will be very thankful. Varinder
Can we throw exception from catch Block?
How long do session variables last?
What Name space does the web page belon in the .net framework class hierarchy?
what is .net
how can we display records in single datagrid using two datasets in different place?
2 Answers Global Computer, Honeywell,
How do you create a permanent cookie?