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

Showing Answers 1 - 5 of 5 Answers

yogi baba

  • Oct 4th, 2005
 

By setting the Cookie.Discard property false

  Was this answer useful?  Yes

Abhishek

  • Sep 29th, 2006
 

by setting the cookie.discard property to true. When true, this property instructs the client application not to save the Cookie on the user's hard disk when a session ends. By default its false

mrp100461

  • Aug 5th, 2009
 

The cookieless property is found on the sessionstate Element
<sessionState
cookieless=
         "[true|false|AutoDetect|UseCookies|UseUri|UseDeviceProfile]">
</sessionState>
so to turn off cookies the code shoud look like this.
<sessionState
cookieless=
         "true">
</sessionState>

  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