Truncating data when inserting in bank

1

The system is in a common host with the following config:

  • Apache 2.4.25
  • PHP 5.4.45
  • MySQL 5.5.58-cll

It is intended to control O.S. and each user has a login with their password. During development and testing everything was OK, however it has been happening, now that it has been released to the users, from the system to mix data from the OS. At first I suspected something involving the sessions, but reading about it, did not make much sense, users on the same network. Eg:

  • User X is editing the O.S 01
  • User AND is editing O.S 02

When X saves your O.S. (AJAX prepares the data and sends via POST to save.php) the page reloads with some data from the O.S. It's not always the same data and it does not always happen.

I do not know where to look for the problem so much that I would like to provide the code for analysis, but I do not even know what part of it I could include here.

Can the problem really be the session? Can it be some limitation of the server?
Or could it even be in the save.php script being used simultaneously?
I also suspected config.php (access to the bank), since it uses only one user. Does this have any relation or what differs the access is the session?

    
asked by anonymous 15.12.2017 / 12:57

0 answers