[This is preliminary documentation and is subject to change.]

Gets or sets a value indicating whether the cookie is sent over HTTPS.

Namespace: Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public bool Secure { getset; }

VB

Public Property Secure As Boolean

Get

Set

C++

public:

property bool Secure {

bool get();

void set(bool value);

}

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean
true if secure, false if not. Default is false.

See Also

CookieAttributeCookieAttributeCookieAttribute Class
Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors Namespace