RE: Re[2]: [PHP] Lost session variables still confounding me

From: Date: Thu, 04 Nov 2004 10:55:42 +0000
Subject: RE: Re[2]: [PHP] Lost session variables still confounding me
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201148@lists.php.net to get a copy of this message
--- Reinhart Viane <rv@domos.be> wrote: > Suppose Richard means: > > If (isset($_POST['ListingName'])) { > $_SESSION['f1a'] = $_POST['ListingName']; > } Right, I've tried all three variations , none of which, I'm sorry to report, have helped. The variable is alive with any of the code including the one I had originally. It seems to do a reset though when it's redirected. I've even tried: Page3: if (count($LurkerIndustry) > 5) { $_SESSION['arrayerr'] = "you have selected too many industries"; $_SESSION['f1a'] = $_POST['ListingName']; header ("Location: TestMulti2.php"); exit; } Thinking that by sending the variable back to page 2 it would hold. The error variable takes. Stuart

« previous php.general (#201148) next »