Is there a way to identify the instance of a browser in php.
The scenario is this. I have written my own session handling class as my application runs on a clustered load balanced setup. I cannot rely on storing information on one server as the next time a user makes a request another server might respond to it.
I need for the session to close or be unavailable once the user has closed the browser. My setup uses a cookie with a session id in it and the session details stored in a database. The trouble i have right now is if the user closes the browser the session is still active, so if they open a browser and re-visit the site they are still logged in.
Thanks for the help.
Matt