Hello Stuart,
Thursday, November 4, 2004, 10:02:53 AM, you wrote:
SF> Your not mistaken. That is what's happening. I just don't know how
SF> to fix it .
Before setting the session value in Page 2, check for the existence of
the $_POST value first.
if (isset($_POST['var']))
{
$_SESSION['var'] = $_POST['var'];
}
When you now redirect to Page 2 upon an error, it'll skip this block
because the $_POST var won't exist.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php