0

I have noticed a strange phenomenon when two users in our office submit the same form at the same time.

If user A submits the form and it takes 30 seconds to process, and user B submits the same form with different info and it processes quicker, user A's form seems to collect $_POST variables from user B.

Is this a possibility in PHP?

LF00
  • 27,015
  • 29
  • 156
  • 295
hitwill
  • 575
  • 1
  • 9
  • 25
  • It sounds like a wider issue with the application rather than something IP related. – Nathan Dawson May 23 '17 at 02:59
  • I think it can. It just like sending a form one at a time, at just a faster rate – Carl Binalla May 23 '17 at 02:59
  • @Swellar if that were true it would be a major security problem – Nathan Dawson May 23 '17 at 03:01
  • depends what you're using this with, what is it? 3rd party app, database, files, other? Are sessions/cookies involved? You will need to provide more information/details. Your question is unclear. – Funk Forty Niner May 23 '17 at 04:33
  • The question is not that bad, but I think it needs some clarification. It could be an issue with duplilcate session IDs. Could you add the relevant code to your question? Do you use something like session_id('12345') in your code? – friedemann_bach May 23 '17 at 07:45

1 Answers1

5

Each HTTP request is processed by PHP separately. If you have data overwriting each other then it could be application-related.

aljo f
  • 2,430
  • 20
  • 22