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)    
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:
Solve the problem : 37 + 6 = ?

 [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.


 [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 by the end of next Sunday (CET). If this was a problem with the 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.