Use Cookie.Discard property, Gets or sets the discard flag set by the server. When true, this property instructs the client application not to save the Cookie on the user's hard disk when a session ends.
Liked By
Write Answer
How do you turn off cookies for one page in your site?
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
17-Dec-2013Use Cookie.Discard property, Gets or sets the discard flag set by the server. When true, this property instructs the client application not to save the Cookie on the user's hard disk when a session ends.