I want to prevent my user to login my website from multiple browsers simultaneously. The server backend is written in php. The Idea is that I invalidate any session for that user when he logs in again.
To know which session the user has last logged in, I store the session id in a mysql database (as a VARCHAR).
But how can I invalidate a session different to the current one in php?