[PR #2573] [MERGED] Introduce an env variable for the session cookie path #6024

Closed
opened 2026-02-05 10:22:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2573
Author: @ckleemann
Created: 2/20/2021
Status: Merged
Merged: 3/16/2021
Merged by: @ssddanbrown

Base: masterHead: master


📝 Commits (1)

  • 3fc935d Introduce an env variable for the Session Cookie Path

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 .env.example.complete (+1 -0)
📝 app/Config/session.php (+1 -1)

📄 Description

The session cookie path parameter can not configured by an env file. There are scenarios where you want to set the cookie path e.g. multi App Setups under the same domain. With this PR a new env variable SESSION_COOKIE_PATH is introduced.


🔄 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/BookStackApp/BookStack/pull/2573 **Author:** [@ckleemann](https://github.com/ckleemann) **Created:** 2/20/2021 **Status:** ✅ Merged **Merged:** 3/16/2021 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`3fc935d`](https://github.com/BookStackApp/BookStack/commit/3fc935d4bbe1f7c00a353bf7d46c3c14d330c532) Introduce an env variable for the Session Cookie Path ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example.complete` (+1 -0) 📝 `app/Config/session.php` (+1 -1) </details> ### 📄 Description The session cookie path parameter can not configured by an env file. There are scenarios where you want to set the cookie path e.g. multi App Setups under the same domain. With this PR a new env variable ```SESSION_COOKIE_PATH``` is introduced. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:22:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6024