This is a God-send, d~l - you have no idea how much.
Yes: newbie-ish, here; yes: read the manual and the php.ini notes.
I had created a new folder for session files. In fact, session files were being created, but still, each time I refreshed, a new session ID was generated and the sessions just "weren't working". If I passed the session ID in the URL, I could, in fact get the sessions to work (that is, my counter counted).
Using Win XP (Home) 5.1, IE6, apache 2.0.55, PHP 5.0.3
I read the bug report you listed, which tipped me off that just removing the path will get the system to query the OS. So I set:
session.save_path =
(no value). Still no joy. I was seeing that the path I'd specified earlier was still, in fact, being used. Yes, i'd restarted the server. What on earth was going on???
So I searched the ini for that path. And guess what? I had to also set the following:
session.cookie_path =
(to no value)
argh.
Now I did say I was newbie-ish; I've been around long enough to know that I was doing all the right things, reading all the right documentation and following all the right rules - but for some reason, sessions just weren't behaving themselves, and I don't think that was my fault in the end. After all - the session files were being created. With correct data.
Whatever.
Now. To switch off my full cookie acceptance setting again π
Chris.