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 hidden field in asp.net?

1111


What are the benefits of view state?

942


What is query string in asp.net?

1068


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

873


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

885


Is there any alternative to avoid name collisions other then Namespaces?

1115


Explain different types of validators in asp.net?

1005


How will you load dynamic assembly? How will create assesblies at run time?

927


Which method is used to perform all validation at the page level?

967


How to send a DataReader as a parameter to a remote client ?

3416


How you will improve web application performance?

1040


Can we use html in asp.net?

931


What are the events in a page life cycle?

946


What are the two properties that are common on every validation control?

1030


Explain about secure socket layer?

949