Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.6

Request #11022 Setting session ID
Submitted: 2007-05-12 06:19 UTC
From: galiganu Assigned: troehr
Status: Closed Package: HTTP_Session (version 0.5.5)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2007-05-12 06:19 UTC] galiganu (Ionut Aivanesei)
Description: ------------ Hi, I would like to be able to set session ID to the $id passwd to the start function even if I use cookies. Like this: ... function start($name = 'SessionID', $id = null) { HTTP_Session::name($name); if ($id) { HTTP_Session::id($id); } else { ...

Comments

 [2007-05-12 11:08 UTC] troehr (Torsten Roehr)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2007-05-12 15:30 UTC] galiganu (Ionut Aivanesei)
Hi, Is it possible to change line: HTTP_Session::localName($_SERVER['SCRIPT_NAME']); with: HTTP_Session::localName($_SERVER['PHP_SELF']); When executed from CLI mode $_SERVER['SCRIPT_NAME'] is not available. Thanks, gali
 [2007-05-13 15:43 UTC] troehr (Torsten Roehr)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. The request regarding SCRIPT_NAME/PHP_SELF has been implemented as #11025.