RE: [PHP] Lost session variables still confounding me

From: Date: Thu, 04 Nov 2004 10:18:05 +0000
Subject: RE: [PHP] Lost session variables still confounding me
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201144@lists.php.net to get a copy of this message
Also, it seems my messages are posted slower then the ones of Richard... So I have given the same answer as he did for the second time. My apoligizes. Greetings, Reinhart -----Original Message----- From: Stuart Felenstein [mailto:stuart4m@yahoo.com] Sent: donderdag 4 november 2004 11:03 To: Richard Davey; php-general@lists.php.net Subject: Re: [PHP] Lost session variables still confounding me --- 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#201144) next »