Class SessionCookie
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
Properties
Domain
Cookie domain attribute
public string? Domain { get; set; }
Property Value
Expires
Cookie expiration date
public DateTime? Expires { get; set; }
Property Value
HttpOnly
HttpOnly flag
public bool HttpOnly { get; set; }
Property Value
Name
Cookie name
public string Name { get; }
Property Value
Path
Cookie path attribute
public string? Path { get; set; }
Property Value
Secure
Secure flag
public bool Secure { get; set; }
Property Value
Value
Cookie value
public string Value { get; set; }
Property Value
Methods
IsExpired()
Check if the cookie is expired
public bool IsExpired()