Jump to content

Asyncro or race condition queries


Redback

Recommended Posts

What is the most efficient way to prevent the same insert query to run at the same time from multiple users?  Is there a way to force a query to complete before another is started or is it possible to place a function lock on the php side so that it can't be executed again until the previous execution of the function has finished?

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/87397-asyncro-or-race-condition-queries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.