RE: Re[2]: [PHP] Lost session variables still confounding me
| From: | Stuart Felenstein | Date: | Thu, 04 Nov 2004 12:08:13 +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-201159@lists.php.net to get a copy of this message | ||
--- "Ford, Mike" <M.Ford@leedsmet.ac.uk> wrote:
> Page 3:
>
> if (count($myarray) > 5):
> $_SESSION['arrayerr'] = "you have selected too
> many industries";
> session_write_close();
> header ("Location: Page2.php?".SID);
> exit;
> endif;
>
> Hope this helps.
Mike, once again you've come through. This worked!
But , let me ask, can it have anything to do with the
endif ? I asked becasue I tried the
session_write_close and the SID before with no
success. Now that it's working , the only thing
different is the endif; .
Stuart