Stuart Felenstein wrote:
--- Jason Wong <[EMAIL PROTECTED]> 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
: Richard Davey; [EMAIL PROTECTED]
Subject: Re: [PHP] Lost session variables still confounding me
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> Unless I'm mistaken - you are redirecting back to
> Page 2 upon an
> error, right? Well according to the code posted, the
> second you
e-
From: Stuart Felenstein [mailto:[EMAIL PROTECTED]
Sent: donderdag 4 november 2004 11:03
To: Richard Davey; [EMAIL PROTECTED]
Subject: Re: [PHP] Lost session variables still confounding me
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> Unless I'm mistaken - you are redirecting bac
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> Unless I'm mistaken - you are redirecting back to
> Page 2 upon an
> error, right? Well according to the code posted, the
> second you hit
> Page 2 again, you are over-writing whatever is in
> the f1a session
> variable with the contents of the $_POS
>>Page 1:
>>//Start the Session - begin Block
>>@session_start();
>>
>>>/>
Is it necesarry to start the session here? Maybe it is if they have to
be logged in or something
Normally I only start the session when I indeed can assign some session
variables in the same page
>>Page 2:
>>//Start the Se
Hello Stuart,
Thursday, November 4, 2004, 9:38:44 AM, you wrote:
SF> Page 2:
SF> $_SESSION['f1a'] = $_POST['ListingName'];
SF> Page 3:
SF> if (count($myarray) > 5) {
SF> $_SESSION['arrayerr'] = "you have selected too many
SF> industries";
SF> header ("Location: Page2.php");
SF> exit;
SF> }
SF>
6 matches
Mail list logo