Disable Session State at the Application Level

Answers were Sorted based on User's Feedback



Disable Session State at the Application Level..

Answer / skmdali786

**
The following steps demonstrate how to disable
session state at the Application level, which affects all
pages in the application:
Start Microsoft Visual Studio .NET, and create a new ASP.NET
Web Application.
In Solution Explorer, double-click Web.config to view the
contents of this file.
Locate the <sessionState> section, and set the mode value to
Off.
Save the file and/or the project to disable session state
throughout all pages in the application.

Is This Answer Correct ?    6 Yes 0 No

Disable Session State at the Application Level..

Answer / k.vijayakumar

Go to Web.Config file under the <system.web>
use the tag <sessionstate mode="off"> then we restrict the
session state in entire project

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Which color scheme in a Repeater control can you provide alternatively?

1 Answers   Siebel,


What is difference between asp state management and asp.net state management?

0 Answers  


How to implement form based authentication in asp.net application?

0 Answers  


Is data can be edited in the Repeater control?

2 Answers  


17. If I?m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?

1 Answers  


Describe Segmentation With Paging?

0 Answers   MaxSolPro,


What is cross page posting? How is it done?

0 Answers  


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

0 Answers  


Can the dictionary object be created in client?s scope ?

0 Answers   Satyam,


AJAX - explain the concept and some controls like update panel, tabcontrol etc

2 Answers   Syntel,


where is declare global variable in asp.net and what is use of global variable

3 Answers  


difference between gridview,data list and repeater control

7 Answers   ABC, Olive Tech,


Categories