Posted by Oli Filth on 10/13/26 11:28
Domestos said the following on 05/10/2005 20:52:
> 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?
Yes.
The browser retains the session cookie until it is closed.
The server retains the session details even though session_start() is
not called on a particular script.
--
Oli
Navigation:
[Reply to this message]
|