Re: Any conflict with $_POST when 2 users concurrently submitting the same form using POST method?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hell no!

Why would they be overwritten?

An HTTP request is sent from user A, the interpreter is "compiling"
the PHP script with the received HTTP request variables and send back
the HTTP response to user A, during this time the same thing happens
with user B.

I can't think of any possible reason in which the $_POST variables
will be overwritten during paralell requests.

Regards,
Nitsan

On Tue, Jun 9, 2009 at 9:27 AM, Keith<survivor_bus@xxxxxxxxxxx> wrote:
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux