Бөлісу құралы:


CookieOptions Class

 

Options used to create a new cookie.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.CookieOptions

Syntax

public class CookieOptions
public ref class CookieOptions 
type CookieOptions = class end
Public Class CookieOptions

Constructors

Name Description
System_CAPS_pubmethod CookieOptions()

Creates a default cookie with a path of '/'.

Properties

Name Description
System_CAPS_pubproperty Domain

Gets or sets the domain to associate the cookie with.

System_CAPS_pubproperty Expires

Gets or sets the expiration date and time for the cookie.

System_CAPS_pubproperty HttpOnly

Gets or sets a value that indicates whether a cookie is accessible by client-side script.

System_CAPS_pubproperty Path

Gets or sets the cookie path.

System_CAPS_pubproperty Secure

Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin Namespace

Return to top