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
How you can access the properties and controls of master pages from content pages?
Explain how can you debug your .net application?
Where can I get information on cookies in asp.net?
Is asp.net still used?
Where code pages are used?
what are the web form events available in asp.net?
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
What are custom controls?
Explain the main differences between asp and asp.net?
What is difference between asp state management and asp.net state management?
What is enableviewstate?
Write a code for sending an email from asp.net application.
What is query string in asp.net?
Describe SOA and the tenets of it?
What is the difference between application state and session state in asp net?