On one page, I am using session_regenerate_id() and when I echo the session_id(), I get a new value each time the page loads.
However, if I go to another page and echo the session_id() I get the old session_id (i.e., the one originally set, regardless of how many new session ids are generated).
The other odd thing is that everything works fine on a development computer, but when I upload to a live server, this is what happens. The only difference between the development area and the live server is that the root directory is one level up on the live versus the dev.
(i.e., on Dev: http://domain.com/subfolder/script.php
on Live: http://domain.com/script.php)
Does anyone know why this isn't working the way it ought to?