Επεξεργασία

Κοινή χρήση μέσω


LocalClientSecuritySettings.CacheCookies Property

Definition

Gets or sets a value that indicates whether secure conversation cookies are cached.

public:
 property bool CacheCookies { bool get(); void set(bool value); };
public bool CacheCookies { get; set; }
member this.CacheCookies : bool with get, set
Public Property CacheCookies As Boolean

Property Value

true if cookies are cached; otherwise, false.

Examples

This example shows how to set secure conversation cookies to be cached.

LocalClientSecuritySettings settings =
    new LocalClientSecuritySettings();

bool cacheCookies = settings.CacheCookies;
Dim settings As New LocalClientSecuritySettings()

Dim cacheCookies As Boolean = settings.CacheCookies

Applies to