Re: XHTML 1.1 + php sessions = :(
| From: | b1nary Developement Team | Date: | Sun, 20 Feb 2005 05:27:17 +0000 |
| Subject: | Re: XHTML 1.1 + php sessions = :( | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209076@lists.php.net to get a copy of this message | ||
Jason Barnett wrote:
Not an idiot... we all had to learn it once. And some of us a few times more than that! You're welcome. Jason Okay, back to business... Here's what I've got in the method that goes at the top of the page*function headers() {*
*header("Content-type: text/html; charset=utf-8");*
*ini_set("session.name","b1naryses");*
*ini_set("session.use_only_cookies","1");*
*session_start();*
*}*
I know I have the ini_set(); syntax correct because it succesfully changes the session name from PHPSESSID to b1naryses, however when I go to validate it, the session ID is still being passed through the URL. I read a whole bunch of stuff on php.net about sessions and ini_set(), however I can't really find anything to solve this. Is it possible that some setting on my host's server is causing this?