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

2002-10-01 Thread Aaron Wolski

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




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

2002-10-01 Thread Ryan Jameson (USA)

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:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 12:04 PM
To: [EMAIL PROTECTED]
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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php