note 75021 deleted from ref.session by colder
| From: | colder@php.net | Date: | Wed, 09 May 2007 07:43:45 +0000 |
| Subject: | note 75021 deleted from ref.session by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126355@lists.php.net to get a copy of this message | ||
Note Submitter: ove at junne dot dk
Reason: spam
----
Consider this:
if ( isset($_SESSION['transfer']) )
{
/* Script is populated - do your things */
} else {
/* Collect your data into $myArray */
$_SESSION['transfer'] = serialize( $myArray );
header( "LOCATION: ## same script ##" );
}
This should giv max 2 calls to the script, but I allways get 4 ?!? Because of that my additons
doubles up (among other annoying things).
Someone please direct me to the documentation I have to read in order to solve this problem...