$abbreviation = 'wcf';
$anchor = '';
$isRaw = false;
+ $appendSession = true;
if (isset($parameters['application'])) {
$abbreviation = $parameters['application'];
unset($parameters['application']);
$isRaw = $parameters['isRaw'];
unset($parameters['isRaw']);
}
+ if (isset($parameters['appendSession'])) {
+ $appendSession = $parameters['appendSession'];
+ unset($parameters['appendSession']);
+ }
// remove anchor before parsing
if (($pos = strpos($url, '#')) !== false) {
}
// append session id
- $url .= (strpos($url, '?') === false) ? SID_ARG_1ST : SID_ARG_2ND_NOT_ENCODED;
+ if ($appendSession) {
+ $url .= (strpos($url, '?') === false) ? SID_ARG_1ST : SID_ARG_2ND_NOT_ENCODED;
+ }
// handle application groups
$applicationGroup = ApplicationHandler::getInstance()->getActiveGroup();