Skip to content

Config settings to define the web GUI session cookie name #8515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kage
Copy link

@Kage Kage commented Apr 2, 2025

This PR makes the PHP session cookie name configurable so that OPNsense sessions are not locked to the PHP default PHPSESSID. This allows multiple OPNsense web GUIs to operate on the same hostname or IP without interfering with each other (e.g. multiple OPNsense VMs with an SSH tunnel to the vhost to access them).

The configuration will only permit alphanumeric names. If a session name setting is not provided, it defaults to opnsense.

Fixes #8365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Change PHP session name to be dynamic
1 participant