Bug #18227: calling session_set_cookie_params breaks session_start
| From: | jeromedw at attbi dot com | Date: | Mon, 08 Jul 2002 13:07:04 +0000 |
| Subject: | Bug #18227: calling session_set_cookie_params breaks session_start | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13518@lists.php.net to get a copy of this message | ||
From: jeromedw@attbi.com
Operating system: FreeBSD 4.2
PHP version: 4.2.0
PHP Bug Type: Session related
Bug description: calling session_set_cookie_params breaks session_start
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 bug report at http://bugs.php.net/?id=18227&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18227&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18227&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18227&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18227&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18227&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18227&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18227&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18227&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18227&r=globals