How do you turn off the Session state for a webform ?

Skill/Topic: Intermediate
A) In Web.config file set the tag to True
B) In Web.config file set the tag to false
C) Set the Session state to false in webform properties window
D) Set the EnableSession state to false in webform properties window

Showing Answers 1 - 11 of 11 Answers

balachandar

  • Oct 4th, 2006
 

using sesssion.abandon or session.clear for this..

  Was this answer useful?  Yes

RAMYA

  • Mar 1st, 2016
 

EnableSessionState="false" in the @ Page directive. for setting the session false at a Page Level
At the Application Level-
In Solution Explorer, double-click Web.config to view the contents of this file.
Locate the section, and set the mode value to Off.
so the answer is D)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions