Home » HTML » HTML_QuickForm_Controller » Bug #3443
Jump action ads SID also when session.use_only_cookies
Details
| 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 |
| Roadmaps | (Not assigned) |
Comments
[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.