Re: XHTML 1.1 + php sessions = :(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux