![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello I explain my situation: I created a db in which I enter reservations to the hotels, especially in this entry I have carried out over two web pages (and a.php b.php) and, since the procedure of inserting a new book contains a number of steps to perform, I have implemented this procedure through the commit / rollback and with table locks... I tested everything with the sleep (PHP). If I do the test between two pages A and B. .. everything works! The second page is waiting until the first has not finished PROBLEM: The problem comes when I do the test using the same page ... that is, if two or more users enter the page to perform all these steps ... nobody respect the lock .... I can not understand where the problem is ... someone would help me thanks |
#3
| |||
| |||
|
|
I explain my situation: I created a db in which I enter reservations to the hotels, especially in this entry I have carried out over two web pages (and a.php b.php) and, since the procedure of inserting a new book contains a number of steps to perform, I have implemented this procedure through the commit / rollback and with table locks... |
![]() |
| Thread Tools | |
| Display Modes | |
| |