ID: 47395 Comment by: tdtwisteuk at hotmail dot com Reported By: tdtwisteruk at hotmal dot com Status: Open Bug Type: Session related Operating System: linux PHP Version: 5.2CVS-2009-02-15 (CVS) New Comment:
The problem appear to be related with the bugfix #31583. quoting NEWS "Fixed bug #31583 (php_std_date() uses short day names in non-y2k_compliance mode). (mike at php dot net)" The php_std_date function is used to form the session date instead of the strcpy_gmt() in the session.c file Previous Comments: ------------------------------------------------------------------------ [2009-02-15 14:58:33] tdtwisteruk at hotmal dot com Description: ------------ The problem appear to be the wrong formating of the expiration date that cause meny browsers to ignore the session cookie. I think I have manage to track the bug. It appears to be on the file /ext/session/session.c line 1119. I am currently working on a patch. It should be trivial. Reproduce code: --------------- session_set_cookie_params( $lifetime, $path, $domain, $isSecure, $httponly ); session_start(); Expected result: ---------------- frontend=90b770550657dbe845656805a1e9bfe0; expires=Sun, 15-Feb-09 15:53:53 GMT; path=/magento; domain=localhost; HttpOnly Actual result: -------------- frontend=90b770550657dbe845656805a1e9bfe0; expires=Sunday, 15-Feb-09 15:53:53 GMT; path=/magento; domain=localhost; HttpOnly ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47395&edit=1