Re: Changing PHPSESSID= to something else?

From: Date: Thu, 04 Apr 2002 07:20:20 +0000
Subject: Re: Changing PHPSESSID= to something else?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91491@lists.php.net to get a copy of this message
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. Cheers! Rick "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" <esoteric.web@gte.net> > Date: Wed, 3 Apr 2002 23:15:31 -0800 > To: "PHP General" <php-general@lists.php.net> > 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 > http://foo/bar.php?PHPSESSID=a8as982t8as8268 > > AND, can this be done w/ ini_set inside the script? > > Thanks in advance! > > //Nick Richardson > //esoteric.web@gte.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#91491) next »