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 is Hybrid dictionary
What are the differnt types of handler in ASP.NET?
0 Answers Sans Pareil IT Services,
where should write the connection string Show that it will apply whole pages in the website
In which module you have worked in your .net project explain?
Difference between application events and session events
How many types of sessions are there in asp net?
Explain difference between dataset and datareader?
please can any describe 'Master Page' in ASP.Net 2.0
What is a PostBack ?
Differentiate between early binding and late binding.
How many web.config files in each solution
Which is the best institute for ASP.NET?
8 Answers ABC Infotech, Tech Mahindra,