Update of /cvsroot/squirrelmail/squirrelmail/include
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20709/include
Modified Files:
init.php
Log Message:
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.
Index: init.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/include/init.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -w -r1.40 -r1.41
--- init.php 13 Jan 2007 14:06:32 -0000 1.40
+++ init.php 13 Jan 2007 16:04:20 -0000 1.41
@@ -387,7 +387,9 @@
* 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;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|