Posted by Domestos on 10/13/50 11:28
Consider this...
Page1.php - calls session_start();
Page2.php - calls session_start(); and sets $_SESSION['user']
Page3.php - does not call session_start();
Page4.php - calls session_start(); and displays $_SESSION['user']
Each page is accessed sequentially
Is that correct? should $_SESSION['user'] still be available in page4.php
even though page3.php did not call session?
Or am I mistaking how sessions work? I thought you had to keep calling them
on every page else the SESSION varibales would be lost.
--
Thanks,
Andrew Makinson
www.buy-a-pixel.com
[Back to original message]
|