From dcf7502003324fc12bc9cd6c354f7381537fe4a1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 23 Dec 2008 19:59:17 +0000 Subject: - Patch #303154 by c960657: clean-up and better document ini_set() calls in default.settings.php. --- includes/bootstrap.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index dbff7eaa1..d94079191 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -403,6 +403,12 @@ function drupal_initialize_variables() { ini_set('html_errors', 0); // Don't escape quotes when reading files from the database, disk, etc. ini_set('magic_quotes_runtime', '0'); + // Use session cookies, not transparent sessions that puts the session id in + // the query string. + ini_set('session.use_only_cookies', '1'); + ini_set('session.use_trans_sid', '1'); + // Don't send HTTP headers using PHP's session handler. + ini_set('session.cache_limiter', 'none'); } /** -- cgit v1.2.3