Hello all,
The problem is that my session variable dies in another page ...when I link from one page to another. I can access session variable in a.php but a.php -> has a link that takes you to b.php ...now in b.php I can't access that session variable
It says username is not set ...Code:if(isset($_SESSION['username'])) { print("What you want if the session var is set"); } else { print("What you want if the sessions variable is not set"); }
whereas I can access and has the correct value in a.php
Please help.
Thanks




Reply With Quote