Table of Contents

Class SessionCookie

Namespace
Fluxzy.Rules.Session
Assembly
Fluxzy.Core.dll

Represents a captured cookie with metadata for session storage.

public class SessionCookie
Inheritance
SessionCookie
Inherited Members

Constructors

SessionCookie(string, string)

public SessionCookie(string name, string value)

Parameters

name string
value string

Properties

Domain

Cookie domain attribute

public string? Domain { get; set; }

Property Value

string

Expires

Cookie expiration date

public DateTime? Expires { get; set; }

Property Value

DateTime?

HttpOnly

HttpOnly flag

public bool HttpOnly { get; set; }

Property Value

bool

Name

Cookie name

public string Name { get; }

Property Value

string

Path

Cookie path attribute

public string? Path { get; set; }

Property Value

string

Secure

Secure flag

public bool Secure { get; set; }

Property Value

bool

Value

Cookie value

public string Value { get; set; }

Property Value

string

Methods

IsExpired()

Check if the cookie is expired

public bool IsExpired()

Returns

bool