mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
[Web] Rename PHP Cookie to MCSESSID
This commit is contained in:
parent
4440bd46ad
commit
8ead77083f
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