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
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
What is the difference between CC and BCC?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
From which base class all web forms are inherited?
What are the asp.net 2.0 features?
Which method do you use to kill explicitly a users session?
Where session id is stored?
Explain the steps to be followed to use passport authentication.
What are the types of validation in asp net?
What is a 401 redirect?
Differentiate between authentication and authorization.
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
What is difference between session and cookie?
Elaborate differentiation between Cache and Application?
What should you do is you want to remove an existing component but would like to make some funtionalities?