--- Richard Davey <rich@xxxxxxxxxxxxxxxx> wrote: > 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. > I'm a bit confused, this fixes the problem ? Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php