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

Bug #3443 Jump action ads SID also when session.use_only_cookies
Submitted: 2005-02-12 13:21 UTC
From: jeroenl at zwolnet dot com Assigned: avb
Status: Closed Package: HTML_QuickForm_Controller
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 40 - 10 = ?

 
 [2005-02-12 13:21 UTC] jeroenl at zwolnet dot com
Description: ------------ The Next action also adds the SID to the url when session.use_only_cookies is configured. This is not wanted. Solution is to check session.use_only_cookies, so iso.: $url = $action . ... . ((!defined('SID') || '' == SID)? '': '&' . SID); Do something like: $url = $action . (false === strpos($action, '?')? '?': '&') . $current->getButtonName('display') . '=true'; if (!ini_get('session.use_only_cookies')) $url .= ((!defined('SID') || '' == SID)? '': '&' . SID); Greetings, Jeroen.

Comments

 [2005-11-04 19:17 UTC] avb
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.