Skip to content

Commit

Permalink
Docs on Session Migration sample
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersAbel committed Aug 9, 2023
1 parent 1459eba commit a7f1f36
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion IdentityServer/v6/docs/content/samples/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The sample also contains an API with the necessary helper code to accept and val

[link to source code]({{< param samples_base >}}/DPoP)

### Session Management Sample
### Session Management

This sample shows how to enable [server-side sessions]({{<ref "/ui/server_side_sessions">}}) and configure the basic settings.
The sample requires all three projects to be run at once.
Expand All @@ -37,3 +37,10 @@ Things of note:
* When you revoke the user's session, the user should be logged out of the client app.

[link to source code]({{< param samples_base >}}/SessionManagement)

### Session Migration
This sample shows how to do seamless migration of existing cookie-based session when enabling server side sessions. Normally when server side sesssions are enabled all existing logged in sessions are invalidated
and the users are forced to log in again. If the application has sessions with long lifetimes where it would be a problem to have all users log in again the sessions can be migrated. Instructions for running the
sample are in the HostingExtensions.cs file.

[link to source code]({{< param samples_base >}}/SessionMigration)

0 comments on commit a7f1f36

Please sign in to comment.