mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
rename session cookie
With the default PHPSESSID cookie name, there are some rare (and hard to debug) cases that break logging in if a different application on the domain also uses a PHPSESSID cookie. See https://sourceforge.net/p/postfixadmin/bugs/314/ for details. Using 'postfixadmin_session' as cookie name should fix this. git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1846 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
1d76c5af88
commit
431bd3d810
@ -22,6 +22,7 @@ if(!defined('POSTFIXADMIN')) { # already defined if called from setup.php
|
||||
if (!defined('POSTFIXADMIN_CLI')) {
|
||||
// this is the default; see also https://sourceforge.net/p/postfixadmin/bugs/347/
|
||||
session_cache_limiter('nocache');
|
||||
session_name('postfixadmin_session');
|
||||
session_start();
|
||||
|
||||
if (defined('POSTFIXADMIN_LOGOUT')) {
|
||||
|
Loading…
Reference in New Issue
Block a user