Share via


CookieOptions Class

Represents a cookie options.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.CookieOptions

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

Syntax

'Declaration
Public Class CookieOptions
'Usage
Dim instance As CookieOptions
public class CookieOptions
public ref class CookieOptions
type CookieOptions =  class end
public class CookieOptions

The CookieOptions type exposes the following members.

Constructors

  Name Description
Public method CookieOptions Initializes a new instance of the CookieOptions class.

Top

Properties

  Name Description
Public property Domain Gets or sets the domain to associate the cookie with.
Public property Expires Gets or sets the expiration date and time for the cookie.
Public property HttpOnly Gets or sets a value that indicates whether a cookie is accessible by client-side script.
Public property Path Gets or sets the virtual path to transmit with the current cookie.
Public property Secure Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin Namespace