ID:               47395
 Updated by:       fel...@php.net
 Reported By:      tdtwisteruk at hotmal dot com
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Session related
 Operating System: linux
 PHP Version:      5.2CVS-2009-02-15 (CVS)
 New Comment:

.


Previous Comments:
------------------------------------------------------------------------

[2009-02-16 09:11:00] tdtwisteruk at hotmail dot com

Yes you are actually right. It is fixed on the csv repository.
Sorry I bother you. Next time I will check better.

------------------------------------------------------------------------

[2009-02-16 09:00:40] tdtwisteruk at hotmail dot com

No the actual test was done in php 5.2.8.

------------------------------------------------------------------------

[2009-02-15 21:44:19] scott...@php.net

Pretty sure I fixed this in December, did you really test a CVS
snapshot?

http://cvs.php.net/viewvc.cgi/php-src/ext/session/session.c?r1=1.417.2.8.2.44&r2=1.417.2.8.2.45&pathrev=PHP_5_2&view=patch

------------------------------------------------------------------------

[2009-02-15 19:51:42] tdtwisteuk at hotmail dot com

It appears that the browser behavior I mention earlyer was caused by
domain=localhost attribute, even though I run the page from localhost.
Anyway the cookie expirtion date is different from the session
expiration. To fix this change line 1119 in ext/session/session.c to
date_fmt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s
T")-1, t, 0 TSRMLS_CC);

------------------------------------------------------------------------

[2009-02-15 15:18:44] tdtwisteuk at hotmail dot com

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

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/47395

-- 
Edit this bug report at http://bugs.php.net/?id=47395&edit=1

Reply via email to