same logged in user assigned different session ids (in different browsers)

Posted by Lyon on Stack Overflow See other posts from Stack Overflow or by Lyon
Published on 2010-04-29T16:24:00Z Indexed on 2010/04/29 16:27 UTC
Read the original article Hit count: 357

Filed under:
|
|

Hi,

I've implemented a mysql-based session interface in php. I just found out that if I log in to my account using browser A (e.g. Chrome), and then I log in to the same account in another browser B (e.g. IE), each browser is assigned 2 separate session ids. How can I make it such that when I log in again using browser B, I retain the active session of the previous browser A?

The issue at hand is that I'm storing certain information in the session and the data not being synchronised between the same users in different browsers and is wrecking havoc. :S

Is there a way to achieve this?

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sessions