I am storing the sessions on one server, a MySQL server; I wrote my own session handlers to use a MySQL database for session management.
My table has the PHPSESSID as the primary key. This is the situation that scares me:
websrv1 starts a session for John with some PHPSESSID and stores it on my MySQL session server. 5 minutes later while John's session is still active, websrv3 starts a session for Mary with the same PHPSESSID as John. Then her data overwrites his until he clicks something that overwrites hers, and the cycle continues.
?????Can this happen?????
If I use session.entropy_file = /dev/urandom in my php.ini file, then random does not guarantee uniqueness. I already know that some PHPSESSID's are being reused.