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 viewstate in asp net with example?
What is the default timeout for a cookie?
What is viewstategenerator?
Give me one example of Web API Routing?
What are uri parameters?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
Explain login controls.
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?
How can we use Web API with ASP.NET Web Form?
Describe how to implement globalization and localization in the use interface in .net.
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
What are the modes of updation in an updatepanel?
How response object is related to asp's response object?
Which protocol is used to call a web service?
Explain what the contents of cookie?