Hi I am having trouble storing my sessions. This wasn't a problem before but appears to be now. I am not aware of any changes in my configuration file.
I have the session save path in my ini file to 'c:\tmp'
when i run the following basic script
<?php
session_start();
if (empty($_SESSION['count'])) {
$_SESSION['count'] = 1;
} else {
$_SESSION['count']++;
}
?>
<p>
Hello visitor, you have seen this page <?php echo $_SESSION['count']; ?> times.
</p>
<p>
To continue, <a href="view.php">click
here</a>.
</p>
The sessions don't get stored and it only works if i pass the sessionID with the link. I am not sure what may have gone wrong or what may cause this problem?
Ian