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 are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What is Dynamic Web and discuss its usage with the help of real life examples?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
Whats the difference between abstract factory pattern and factory pattern?
How do sessions work?
Explain difference between dataset and datareader?
How many types cache in asp net?
What parameters can you pass in the url of the api?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
Can we use html in asp.net?
What is viewstategenerator?
Mention few asp.net validators.
How to sign out from forms authentication?
What are the layouts of ASP.NET Pages?