Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Disable Session State at the Page Level

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


Please Help Members By Posting Answers For Below Questions

What is viewstate in asp net with example?

974


What is the default timeout for a cookie?

1040


What is viewstategenerator?

1188


Give me one example of Web API Routing?

1061


What are uri parameters?

1022


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?

965


Explain login controls.

1109


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

2403


How can we use Web API with ASP.NET Web Form?

1086


Describe how to implement globalization and localization in the use interface in .net.

945


How to disable cut, copy and paste in TextBox using jQuery in asp.net?

1176


What are the modes of updation in an updatepanel?

948


How response object is related to asp's response object?

898


Which protocol is used to call a web service?

1034


Explain what the contents of cookie?

1047