Hi,
Context :
- OS : RedHat 7.X
- Web server : Apache 1.3.19, PHP4
-
SQL server : PostgreSQL 7.1.2
- Browser : IE 6 / Opera /
Konqueror
There is apparently a bug in auth.inc regarding the
cookie creation : the domain name is not set in the setcookie
function.
Original
:
...
setcookie("data",$cookie,time()+($this-
>cookietime*60),"/");
...
Problem :
While using browser
like IE / Opera, the login was denied each time. While using
Konqeror, hopefully it worked and looking at the cookies we saw
that the domain name was not set correctly.
Solutions ?
- Adding
the domain name in the setcookie() function :
setcookie("data",$cookie,time()+($this-
>cookietime*6),"/","YOUR_DOMAIN_HERE");
It's working so
far for me...
Regards,
Thibaut
Dabonneville
tdab@rightvision.com