RE: [PHP-DB] how to disable PHPSESSID from posting in URL

From: Date: Tue, 01 Oct 2002 18:31:43 +0000
Subject: RE: [PHP-DB] how to disable PHPSESSID from posting in URL
Groups: php.db 
Request: Send a blank email to php-db+get-22133@lists.php.net to get a copy of this message
From: http://www.php.net/manual/en/function.ini-set.php I believe below says that you cannot change it a run time. :-\ session.use_trans_sid ------- "1" -------- PHP_INI_SYSTEM|PHP_INI_PERDIR Strangely enough http://www.php.net/manual/en/ref.session.php says the default is "0" where the above reference says it's "1" ... it's a lot of documentation to keep straight. Maybe your host lets you change your httpd.conf or .htaccess file? If you are on apache you may be able to create a file in the root of your virtual directory named .htaccess (it may be there already) ... then add the line to it: php_flag use_trans_sid off ... I think that's right. <>< Ryan -----Original Message----- From: Aaron Wolski [mailto:aaronjw@martekbiz.com] Sent: Tuesday, October 01, 2002 12:04 PM To: php-db@lists.php.net Subject: [PHP-DB] how to disable PHPSESSID from posting in URL Hey all, I KNOW this is not a Db related question but I really need some ideas here. I don't want the URL to display this info. I never notcied this being displayed before but all of a sudden it seemed to pop-up. I don't host my own server so any access to the php.ini file is not possible. Any ideas out there? Thanks. Aaron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#22133) next »