Jump to content

MySQL Transaction across Multiple PHP Script Executions


objnoob

Recommended Posts

I need some advice on how to implement, if possible, the following scenario:

 

I would like start a MySQL transaction to process database changes through Ajax requests and commit the changes on request of the user.

 

The web application needs to allow multiple users, but can be limited.

If persistent connections must be used, any persistent connections must be terminated after a length of time, or on session time to avoid hogging the limited number of persistent users available.

 

Is there any good way of doing this? And were should I begin my research.

 

Much thanks!

Link to comment
Share on other sites

I'm well aware of how to create Ajax requests using the XMLHttpRequest object, however I do appreciate your response.

 

The goal is to combine the power of Transactional Database data manipulation through intermittent Ajax Requests handled by multiple PHP script executions.

 

It may be more a hassle than it's worth.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.