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

Gets or sets the time in seconds the cookie is valid for.

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

Syntax

C#

public int TimeOut { getset; }

VB

Public Property TimeOut As Integer

Get

Set

C++

public:

property int TimeOut {

int get();

void set(int value);

}

Property Value

Type: System.Int32System.Int32System::Int32
The time out. Set to 0 (the default) for a session-only cookie.

See Also

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