Method SetToken
SetToken(TSessionToken)
Replaces the session token of the current request's session and issues the session cookie with it. Subsequent token retrievals in the current request return the specified token, and any pending deferred session refresh is cancelled.
Declaration
public override void SetToken(TSessionToken sessionToken)
Parameters
| Type | Name | Description |
|---|---|---|
| TSessionToken | sessionToken |
Overrides
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The request has no session. |