Interview Questions

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

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

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

Use the Cookie.Discard Property which 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.

(Continued on next question...)

Other Interview Questions