Collections messed up php

Hi, we work with a system of about 500 users online on one centralized dedicated server. Our application is encoded in PHP. Recently, when we have a reasonable load of about 100 -150 users, sessions begin to mix. For example, if a user logs in as A after some time, his session switches to user B, who is also logged in. The system has been working for more than a year, and this is the first time that we encounter this problem.

The server is running Centos. Is it something on the server or is it something in the code. Any help is greatly appreciated.

+3
source share
3 answers

,

  • : , , , ( )
  • . , PHP ( , php.ini) , . , - .
  • : ( , ).
+1

, .

, , , .

? .

+1

First, make sure your sessions end and clear properly. Secondly, make sure that the randomization of the session identifier is good enough. Any problem can cause a collision.

0
source

Source: https://habr.com/ru/post/1753841/


All Articles