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 is a 1x1 pixel?
Why cyclomatic complexity is important?
Describe the differences between the lifecycles of Windows services and Standard EXE?
Where session variables are stored?
How will you do Redo and Undo in a TextControl?
How do cookies work?
Distinguish between Server-side and Client-side code?
How will create assesblies at run time?
Name the two properties are on every validation control?
Describe session handling in a webfarm, how does it work and what are the limits?
Differentiate between globalization and localization.
What are Caching techniques in .NET
What is postback request?
What does a switch do?
What is request and response in asp.net?