[PR #7168] [MERGED] docs(session): document sessions for secondary storage #15364

Closed
opened 2026-04-13 09:59:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7168
Author: @ping-maxwell
Created: 1/7/2026
Status: Merged
Merged: 1/8/2026
Merged by: @ping-maxwell

Base: canaryHead: docs(session)/document-sessions-for-secondary-storage


📝 Commits (4)

  • 076037d docs(session): document sessions for secondary storage
  • 3cdfac8 Update docs/content/docs/concepts/session-management.mdx
  • 506c0fa Merge branch 'canary' into docs(session)/document-sessions-for-secondary-storage
  • 1822e82 Merge branch 'canary' into docs(session)/document-sessions-for-secondary-storage

📊 Changes

1 file changed (+47 additions, -0 deletions)

View changed files

📝 docs/content/docs/concepts/session-management.mdx (+47 -0)

📄 Description

This PR adds documentation specifically about storeSessionInDatabase, preserveSessionInDatabase & secondary storage for sessions.


Summary by cubic

Add docs for handling sessions with secondary storage, including default behavior and how to store sessions in the database and preserve revoked sessions. Includes code examples for configuring storeSessionInDatabase and preserveSessionInDatabase in the session-management guide.

Written for commit 1822e8248a. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7168 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 1/7/2026 **Status:** ✅ Merged **Merged:** 1/8/2026 **Merged by:** [@ping-maxwell](https://github.com/ping-maxwell) **Base:** `canary` ← **Head:** `docs(session)/document-sessions-for-secondary-storage` --- ### 📝 Commits (4) - [`076037d`](https://github.com/better-auth/better-auth/commit/076037de68b348c6a4cf8faf8f2b621160c47ad2) docs(session): document sessions for secondary storage - [`3cdfac8`](https://github.com/better-auth/better-auth/commit/3cdfac835d37fc46a5546c493ab95c06a6e51ad3) Update docs/content/docs/concepts/session-management.mdx - [`506c0fa`](https://github.com/better-auth/better-auth/commit/506c0fa1a9ce642d8d701e1c4e1bf6fbc03b808d) Merge branch 'canary' into docs(session)/document-sessions-for-secondary-storage - [`1822e82`](https://github.com/better-auth/better-auth/commit/1822e8248a44885aeaaa685da0cff2344d27040a) Merge branch 'canary' into docs(session)/document-sessions-for-secondary-storage ### 📊 Changes **1 file changed** (+47 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/session-management.mdx` (+47 -0) </details> ### 📄 Description This PR adds documentation specifically about `storeSessionInDatabase`, `preserveSessionInDatabase` & secondary storage for sessions. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add docs for handling sessions with secondary storage, including default behavior and how to store sessions in the database and preserve revoked sessions. Includes code examples for configuring storeSessionInDatabase and preserveSessionInDatabase in the session-management guide. <sup>Written for commit 1822e8248a44885aeaaa685da0cff2344d27040a. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 09:59:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#15364