July 20, 200818 yr ok finaly got around to doing tutorials on sessions but i have tried 2 tutorials and carnt get either of them work can you tell me whast is wrong thanks session1.php <?php session_start(); $_SESSION['name']="12345"; ?> session2.php <?php session_start(); echo $_SESSION['name']; ?> i am sure i have coppied the script correctly it should print 12345 on session2.php but it doesnt thanks again
July 20, 200818 yr There is nothing wrong with that script and it should work. Have you got sessions enabled in your php configuration?? do you use sessions else where on your website?
July 20, 200818 yr Author Hi lee thanks for than i am on local server just experimenting i will have a look at settings tomorrow thnks for this
Create an account or sign in to comment