Posted by PHP on 05/14/05 01:52
> My index.php looks like this:
>
> <?PHP
>
> if(!empty($_COOKIE["PHPSESSID"]))
> {
> session_start();
> $email = $_SESSION["email"];
> $psw = $_SESSION["psw"];
> }
>
> ... blaa... ?>
I have found my problem - I should not have a session_start() in the
index.php also as this overwrites the existing one. That took me some
time to understand! I thought I should have session_start on all pages.
Navigation:
[Reply to this message]
|