ID: 18227
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: Session related
Operating System: FreeBSD 4.2
PHP Version: 4.2.0
New Comment:
Just remove the time() call -- you are dealing with an offset to the
current time, not with unix timestamp. Maybe Windows has a problem
with the date 11-Jul-2035..
Previous Comments:
------------------------------------------------------------------------
[2002-09-17 08:06:15] [EMAIL PROTECTED]
This problem is also evident in Windows XP. Reproduced under the latest
version of php and apache as of September 17th 2002.
------------------------------------------------------------------------
[2002-07-08 09:07:04] [EMAIL PROTECTED]
calling session_set_cookie_params prior to session_start results in
session_start not sending the cookie. actual
code squence is
<?
session_name( test" );
session_set_cookie_params( time() + 21*24*3600);
session_start();
?>
Headers are checked using tcpflow. Removing the
session_set_cookie_params sends the cookie.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18227&edit=1