Export (0) Print
Expand All

Cookie.Discard Property

Gets or sets a values that indicates whether the client is to discard the Cookie at the end of the current session.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

'Declaration
Public Property Discard As Boolean

Property Value

Type: System.Boolean
true if the client should discard the Cookie at the end of the session; otherwise, false. The default is false.

This property is set by the server to instruct the client application whether to discard the Cookie at the end of the session. If true, the client application should discard the Cookie at the end of the session. This means that the Cookie should not be saved to the hard disk of the client computer.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft