Property ExpiresUtc
ExpiresUtc
Gets the date and time when the session expires (in UTC), after which it can no longer be refreshed.
Declaration
public required DateTime ExpiresUtc { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Session handling sets it to the configured expiry for the session's kind after RefreshedUtc, capped at the end of the session's maximum lifetime (see MaxTempSessionLifetime and MaxPersistentSessionLifetime). Validation ends a session that is past it, or past the end of a maximum lifetime that was shortened after the record was written.