#18227 [Com]: calling session_set_cookie_params breaks session_start

From: Date: Tue, 17 Sep 2002 13:06:15 +0000
Subject: #18227 [Com]: calling session_set_cookie_params breaks session_start
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19542@lists.php.net to get a copy of this message
ID: 18227 Comment by: jgillap@cogeco.ca Reported By: jeromedw@attbi.com Status: Open Bug Type: Session related Operating System: FreeBSD 4.2 PHP Version: 4.2.0 New Comment: This problem is also evident in Windows XP. Reproduced under the latest version of php and apache as of September 17th 2002. Previous Comments: ------------------------------------------------------------------------ [2002-07-08 09:07:04] jeromedw@attbi.com 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

« previous php.bugs (#19542) next »