Reputation: 31
Hi we have been operating a system for about 500 users online on one centralized dedicated server. Our application is coded in PHP. Recently when we have a reasonable load of about 100 -150 users sessions start getting mixed up. For instance if a user logins as A after a while his session switches to User B who is also logged in. The system has been in operation for over a year and this is the first time we are facing the problem.
The server is running Centos. Is this anything on the server end or is it something in the code. Any help much appreciated.
Upvotes: 3
Views: 2327
Reputation: 48357
Just posted a reply to the same question asked a few minutes later by another user.
I agree with Palantir's first and third points - but 2nd is very, VERY unlikely to be the cause of the problem.
Are you using a customer session handler? The default handler is working for thousands for people.
Upvotes: 1
Reputation: 24182
Several possibilities you should investigate
Upvotes: 1
Reputation: 4682
First, be sure your sessions are expiring and being cleaned up properly. Second, be sure that your session id randomization is good enough. Either issue could cause collision.
Upvotes: 0