note 75021 added to ref.session
| From: | ove at junne dot dk | Date: | Tue, 08 May 2007 23:15:35 +0000 |
| Subject: | note 75021 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126344@lists.php.net to get a copy of this message | ||
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...
----
Server IP: 195.184.96.15
Probable Submitter: 86.52.147.216
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- https://master.php.net/note/edit/75021
Del: integrated -- https://master.php.net/note/delete/75021/integrated
Del: useless -- https://master.php.net/note/delete/75021/useless
Del: bad code -- https://master.php.net/note/delete/75021/bad+code
Del: spam -- https://master.php.net/note/delete/75021/spam
Del: non-english -- https://master.php.net/note/delete/75021/non-english
Del: in docs -- https://master.php.net/note/delete/75021/in+docs
Del: other reasons-- https://master.php.net/note/delete/75021
Reject -- https://master.php.net/note/reject/75021
Search -- https://master.php.net/manage/user-notes.php