HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Property MaxTempSessionLifetime

    MaxTempSessionLifetime

    Gets or sets the maximum amount of time after sign-in that a temporary (non-persistent) session remains valid, no matter how recently it was refreshed, or null for no limit. Default is null.

    Declaration
    public TimeSpan? MaxTempSessionLifetime { get; set; }
    Property Value
    Type Description
    TimeSpan?
    Remarks

    The limit is measured from the session's creation time (see CreatedUtc). Like TempSessionExpiry, it is enforced when the session is validated against the session store, which happens when the session cookie is due for a refresh or the request forces validation.

    The validity period given to a session at sign-in and on each refresh never extends past the limit, so the session cookie is due for validation when the limit is reached.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    The value is zero or negative.

    © Singulink. All rights reserved.