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
What symbol specifies the beginning of a query string?
What are web server controls in asp.net?
Explain how can we inherit a static variable?
What are the three parts of an http response?
How can you implement encapsulation in asp.net?
Explain the use of resource manager class in .net.
What is difference between asp state management and asp.net state management?
What is the syntax for datagrid and specifying columns?
What are the two Layouts supported by a Web form in ASP.NET?
How to create multi language website in asp.net mvc? : Asp.Net MVC
Where the viewstate is stored after the page postback?
What are the memory-mapped files?
What is .net framework and what are the main components of it?
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
Why is global asax is used for?