Property PreviousGenerationGracePeriod
PreviousGenerationGracePeriod
Gets or sets how long after a session is refreshed a session cookie of the previous generation is still accepted from the same device. Default is 2 minutes.
Declaration
public TimeSpan PreviousGenerationGracePeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
The grace period starts when the session store is updated with the new generation, as the response with the refreshed cookie starts. Concurrent requests, and connections that were established with the previous cookie, keep their session within it.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is negative. |