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



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

Post New Answer

More ASP.NET Interview Questions

what is the differance between native code & managed code?

5 Answers   Microsoft,


What is difference between rest and soap?

0 Answers  


How many types of Cookies are available in ASP.NET?

0 Answers   MindCracker,


What is the namespace used to store the information about the user?s locale?

1 Answers   NeoSoft, Siebel,


what is difference between .net 3.0 and 3.5

3 Answers  


What is difference between viewstate and session in asp net?

0 Answers  


How to implement caching?

2 Answers   Infosys, Microsoft,


what are the components available in global.asax ?

1 Answers  


What is the best way to search any exact information on google?

3 Answers   Intellevate,


What is asp.net and ado net?

0 Answers  


What is difference between session and viewstate?

0 Answers  


What is http protocol and how it works?

0 Answers  


Categories