Skip to content

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