Re: Re[2]: [PHP] Lost session variables still confounding me
| From: | Stuart Felenstein | Date: | Thu, 04 Nov 2004 13:18:34 +0000 |
| Subject: | Re: Re[2]: [PHP] Lost session variables still confounding me | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201164@lists.php.net to get a copy of this message | ||
--- Jason Wong <php-general@gremlins.biz> wrote:
> Maybe what you had before was:
>
> if (count($myarray) > 5)
> $_SESSION['arrayerr'] = "you have selected
> too many industries";
> session_write_close();
> header ("Location: Page2.php?".SID);
> exit;
>
> And yes that has a totally different behaviour to
> the code with the "endif;"
> construct.
>
Yep, that is what I had. So, no parse error, but did
not work right either.
Stuart