I have a problem with my website. there it is :
No problem in this case :
- User A do a request.
- Django server update data...
- Object 1 is updated.
- Object 2 is updated.
- Object 3 is updated.
- Django render the result.
- User A do a request.
Problem apear in this case :
- User A do a request.
- Django server update data...
- Object 1 is updated.
- Object 2 is updated.
- User A do another request !
- User A do another request !
- Django render the result.
the problem is that if the user makes a request while the server has not finished working, the server stop the process and data are no longer good.
I think i have to block client side (by displaying a loading message for exemple) but i want to be sur the user cant make a request on the server if another treatemment still working.
thanks for your time.