From eafcfa1564746326207b523a65af9b5c984570ca Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 6 Oct 2005 08:51:05 +0000 Subject: - Patch #4109: some URLs get ?PHPSESSID added to them. --- includes/common.inc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 5911933dd..eacb23a14 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -241,17 +241,6 @@ function drupal_goto($path = '', $query = NULL, $fragment = NULL) { $url = url($path, $query, $fragment, TRUE); - if (ini_get('session.use_trans_sid') && session_id() && !strstr($url, session_id())) { - $sid = session_name() . '=' . session_id(); - - if (strstr($url, '?') && !strstr($url, $sid)) { - $url = $url .'&'. $sid; - } - else { - $url = $url .'?'. $sid; - } - } - // Before the redirect, allow modules to react to the end of the page request. module_invoke_all('exit', $url); -- cgit v1.2.3