From 1f896ab6c69c28a58e83f394af249b0c30f0836f Mon Sep 17 00:00:00 2001 From: carstenklapp Date: Fri, 25 Jan 2002 06:03:52 +0000 Subject: [PATCH] Added option to disable transparent sid support ("PHPSESSID..." in URLs). git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1560 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- index.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 3f629ba2d..d8c7ce75c 100644 --- a/index.php +++ b/index.php @@ -80,7 +80,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA define ('PHPWIKI_VERSION', '1.3.2-jeffs-hacks'); require "lib/prepend.php"; -rcs_id('$Id: index.php,v 1.72 2002-01-23 20:18:21 dairiki Exp $'); +rcs_id('$Id: index.php,v 1.73 2002-01-25 06:03:52 carstenklapp Exp $'); ///////////////////////////////////////////////////////////////////// // @@ -153,6 +153,15 @@ define('REQUIRE_SIGNIN_BEFORE_EDIT', false); //ini_set('session.save_path', 'some_other_directory'); +// If your php was compiled with --enable-trans-sid and you want to +// prevent PHPSESSID parameters from automatically being added to all +// URL strings when cookies are not available (such is the case when +// using http://validator.w3.org/check/referer to check your xhtml or +// html), you can disable transparent sid support in the php.ini +// configuration file. If you don't have access to php.ini on the +// server you can disable it here. + +//ini_set('session.use_trans_sid', 0); ///////////////////////////////////////////////////////////////////// // -- 2.45.0