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

Doc Bug #13864 Minor documentation inaccuracies
Submitted: 2008-05-09 09:37 UTC
From: rek Assigned: till
Status: Closed Package: HTTP_Session2 (version 0.7.2)
PHP Version: 5.2.6 OS: Debian
Roadmaps: 0.7.3, 0.8.0    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 1 + 49 = ?

 
 [2008-05-09 09:37 UTC] rek (Rene Keller)
Description: ------------ Just stumbled across some minor documentation inaccuracies: 1. Method useCookies() does not set session.use_cookies=0 if called with param $useCookies=false. Solution: use param $useCookies='0' (str) instead of $useCookies=false (bool) OR change HTTP_Session2 line 453 to something like if ($useCookies !== null) instead of ($useCookies != null). 2. Method setGcMaxLifetime(), API-Documentation: param $gcMaxLifetime is stated to be of type boolean but is integer 3. Method setGcProbability(), API-Documentation: param $gcProbability is stated to be of type bool but is int s. attached file for samples. Sorry for bothering you with my micro-bugs!

Comments

 [2008-09-16 13:31 UTC] till (Till Klampaeckel)
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. Don't mind your feedback at all. And sorry that it took a while. The fixes are in CVS and will go into a release shortly. Let me know if you have any objections etc.. http://cvs.php.net/viewvc.cgi/pear/HTTP_Session2/HTTP/Session2.php?view=diff&r1=text&tr1=1.19&r2=text&tr2=1.18&diff_format=h