I've got a very simple session problem but can't seem to figure out what's wrong:
here's the index page:
and on the next page:PHP Code:
$_SESSION['uid'] = $username;
//some stuff below
Simple as that. But on the next page $_SESSION is empty.PHP Code:
My php.ini has:
On my local machine this works fine, but on the server I'm developing (which has the same config in php.ini), variables just don't get passed on.
Is there something else I should be looking at? The only thing that strikes me as different from my local machine settings is that the server's running IIS. That can't be the problem but I can't think of anything else..