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 |
If we add a textbox and give the required field validator,and i add two radio buttons 1 is yes another one is No.And i add another one server control button ,if i click the button ,if the radio button Yes is checked the validation control is fired ,if no the validation control is not fired.So what you used to solve this problem.
under which namespaces connection strings can be defined?
What is difference between View State and Hidden Field in ASP.NET?
How to convert a string into an Integer in ASP.net?
How can you send an email message from an asp.net web page?
How can we implement a identity (sql server) call in an asp.net page?
What is the difference between ASP Session State and ASP.Net Session State?
What is the difference between session state and session variables ?
What’s the difference between Response.Write() andResponse.Output.Write()?
How to sign out from forms authentication?
What is xaml? Are xaml file compiled or built on runtime?
Difference between Active Exe and Dll ?