Re[4]: [PHP] Lost session variables still confounding me

From: Date: Thu, 04 Nov 2004 10:59:52 +0000
Subject: Re[4]: [PHP] Lost session variables still confounding me
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-201149@lists.php.net to get a copy of this message
Hello Stuart, Thursday, November 4, 2004, 10:20:04 AM, you wrote: >> 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. SF> I'm a bit confused, this fixes the problem ? If the problem is the session value always being reset, then yes, it will. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde

« previous php.general (#201149) next »