Any conflict with $_POST when 2 users concurrently submitting the same form using POST method?
| From: | Keith | Date: | Tue, 09 Jun 2009 07:27:45 +0000 |
| Subject: | Any conflict with $_POST when 2 users concurrently submitting the same form using POST method? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-293805@lists.php.net to get a copy of this message | ||
Let's say user A and user B submitting purchase order form with "order.php" at the same time, with method=post action='confirmation.php'.
(1) Will $_POST['order'] submitted by user A replaced by $_POST['order'] submitted by user B, and the both user A & B getting the same order, which is made by user B? Why?
(2) Since $_POST['xxx'] is superglobal array, will $_POST['order'] read by users other than A & B? In shared hosting server environment, are all domains hosted within that server using the same $_POST array? Can $_POST array accessible by all domains even if not from the originating domain?Thx for clarification! Keith