Re: Lost session variables still confounding me
| From: | Stuart Felenstein | Date: | Thu, 04 Nov 2004 10:02:53 +0000 |
| Subject: | Re: Lost session variables still confounding me | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201141@lists.php.net to get a copy of this message | ||
--- Richard Davey <rich@launchcode.co.uk> 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 $_POST var, which
> naturally will not
> exist, hence you'll blank it out every single time.
>
Your not mistaken. That is what's happening. I just
don't know how to fix it .
Stuart