Click here to Skip to main content
15,665,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I want to tun off cookies for my one page having very secure data. Is there any way to turn off only for single page.

Thanks in advance.

1 solution


As much as my knowledge, Cookies are collected at Browser's level not at page level. So you can not put a check on cookie at page level. you must apply or remove cookie's for browser at application level.

If you want to set browser, not to store cookie at your machine set Cookie.Discard property to true. By Default this is false.
Share this answer
SaxenaRahul 24-Jun-10 22:01pm    
it worked. Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900