How do you turn off cookies for one page in your site?

 Posted by Rajni.Shekhar on 4/25/2012 | Category: ASP.NET Interview questions | Views: 3631 | Points: 40

It can be done in two ways.

1) If you want to turn off cookies at application level, set in web.config file.

cookie state= false

2) At page level use the Cookie.Discard property.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Akiii on: 4/26/2012 | Points: 10
This is good....

Thanks and Regards

Login to post response