Check out the session_name function.. That will do what you want :) Just
make sure you call it before session_start on each of your pages though.
"Trust in the Lord with all your heart, And lean not on your own
understanding; In all your ways acknowledge Him, And he shall direct your
paths." - Proverbs 3:5-6
> From: "Nick Richardson" <[EMAIL PROTECTED]>
> Date: Wed, 3 Apr 2002 23:15:31 -0800
> To: "PHP General" <[EMAIL PROTECTED]>
> Subject: [PHP] Changing PHPSESSID= to something else?
> Hi all,
> What would i put in my php.ini to change PHPSESSID to something else, like
> 's', so that my URL for sessions would be:
> http://foo/bar.php?s=00as9s8fa9s0a7as9125 instead of
> AND, can this be done w/ ini_set inside the script?
> Thanks in advance!
> //Nick Richardson
> [EMAIL PROTECTED]
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php