mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
Merge pull request #6767 from mailcow/fix/rename-phpsessid
[Web] Rename PHP Cookie to MCSESSID
This commit is contained in:
commit
7ba3de4ced
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
// Start session
|
||||
if (session_status() !== PHP_SESSION_ACTIVE) {
|
||||
session_name('MCSESSID');
|
||||
ini_set("session.cookie_httponly", 1);
|
||||
ini_set("session.cookie_samesite", "Lax");
|
||||
ini_set('session.gc_maxlifetime', $SESSION_LIFETIME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue