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

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


 [2008-05-09 09:36 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-05-09 16:28 UTC] till (Till Klampaeckel)
No problem, and I appreciate the reports! So keep them coming!
 [2008-05-09 16:49 UTC] rek (Rene Keller)
Hi Till I just recognized that I submitted the same bug-report twice. #13863 and #13864 are the same, but #13864 has a file attached with some samples. Cheers! rek