From 30a428c6fdfed8389e7bf461faa361eeea149976 Mon Sep 17 00:00:00 2001 From: stekkel Date: Sat, 13 Jan 2007 16:04:20 +0000 Subject: [PATCH] Setting the SQSESSID cookie with path "/" to deleted caused failed logins because somehow php or the browser prefered the SQSESSID cookie with path "/" over the SQSESSID cookie with the correct path $base_uri. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12121 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/init.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/init.php b/include/init.php index 68873912..b5fd1644 100644 --- a/include/init.php +++ b/include/init.php @@ -387,7 +387,9 @@ switch ($sInitLocation) { * because they probably belong to other php apps */ if (ini_get('session.name') !== $sSessionAutostartName) { - sqsetcookie(ini_get('session.name'),'',0,$sCookiePath); + // This does not work. Sometimes the cookie with SQSESSID=deleted and path / + // is picked up in webmail.php => login will fail + //sqsetcookie(ini_get('session.name'),'',0,$sCookiePath); } } break; -- 2.25.1