ID: 48630 Updated by: j...@php.net Reported By: sigurdne at online dot no -Status: Open +Status: Feedback Bug Type: Session related Operating System: ubuntu 9.04 PHP Version: 5.3CVS-2009-06-21 (snap) New Comment:
Does it work with PHP 5.2.10 ? Previous Comments: ------------------------------------------------------------------------ [2009-06-21 20:01:05] sigurdne at online dot no Description: ------------ The cookie is not set if $domain is set in either of session_set_cookie_params() and setcookie(). Reproduce code: --------------- Fail: session_set_cookie_params(0, $path, $domain, $secure,true); Work: session_set_cookie_params(0, $path, false, $secure,true); the same with setcookie(): Fail: setcookie($cookiename, $cookievalue, $cookietime,$path, $domain, $secure, true); Work setcookie($cookiename, $cookievalue, $cookietime,$path, false, $secure, true); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48630&edit=1