Problem with sessions
Posted: Mon Jun 20, 2005 2:13 pm
Hi.
There seems to be a problem somewhere along the lines because it looks like my sessions arent working at all. For testing my scripts to make sure it wasnt them i used a tutorial on sessions, the code was as follows:
page1.php
page2.php
Do you have any suggestions i could try to get this to work?
Im using the "Dev5Beta3" bundle from firepages and im running XP Pro (using apache1 too because they said 2 was unstable.
thanks for any help you may be able to give
There seems to be a problem somewhere along the lines because it looks like my sessions arent working at all. For testing my scripts to make sure it wasnt them i used a tutorial on sessions, the code was as follows:
page1.php
Code: Select all
<?php
// page1.php
session_start();
$_SESSIONї"e;real_name"e;] = "e;Hermawan Haryanto"e;;
session_register("e;real_name"e;);
print "e;<a href='page2.php'>Go to this page</a>"e;;
?>Code: Select all
<?php
// page2.php
session_start();
print $_SESSIONї"e;real_name"e;];
?>Im using the "Dev5Beta3" bundle from firepages and im running XP Pro (using apache1 too because they said 2 was unstable.
thanks for any help you may be able to give