diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-21 18:25:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-21 18:25:38 +0000 |
commit | 4f94488b554d9892aa6e408dd80e5e3144555745 (patch) | |
tree | a569d854fcec44bb25f70ea9b9311cbcefb6e2b6 /includes/common.inc | |
parent | 15aed817ad06c93797d56780445334a50832a345 (diff) | |
download | brdo-4f94488b554d9892aa6e408dd80e5e3144555745.tar.gz brdo-4f94488b554d9892aa6e408dd80e5e3144555745.tar.bz2 |
- SID will now only be appended when session.use_trans_sid is set. Patch
by Kjartan.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 28086de9b..f4104aaed 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -314,7 +314,9 @@ function drupal_goto($url) { ** is compiled with "--enable-trans-sid". */ - $sid = session_name() . "=" . session_id(); + if (ini_get("session.use_trans_sid")) { + $sid = session_name() . "=" . session_id(); + } if (!session_id() || strstr($url, $sid)) { header("Location: $url"); |