i am running a local IIS server, which I installed php 4.3.1 on.
My problem is this, i recently reformatted my hard drive and now sessions do not work, i dont believe it is the code as not only did the code work before i formatted my drive but also i have tried to make the code as simple as possible. This said i will post some code i was using to try and test the sessions below just in case that is the problem.
Does anyone know what the problem could be? (nb global variables are set to on).
sesson.php is:
<HTML>
<?php
session_start();
session_register('dan');
$_SESSION['dan']="hello";
?>
<a href="sessiontest.php">hyperlink</a>
</HTML>
sessiontest.php is:
<HTML>
<?php
session_start();
session_register('dan');
echo $_SESSION['dan'];
?>
</HTML>
Thanks for your help