Google Chrome on iPad Saves Session ID After Close
Posted on 2015-01-15
My experience in the past has been that when you close a browser it deletes the sessionID in php.
But with Google Chrome on the iPad I am noticing that the sessionID is maintained and is not reset. It appears to be saving the sessionID as a cookie and reuses the sessionID even if you close the browser.
My application stores data in a database based on the session ID so this creates a problem for me.
Is there a workaround that would:
a) Keep the same sessionID within a browser session even if you go to a different site. If you come back to the site, the same ID would be used.
b) Keep the same sessionID if you open a second tab on the site.
c) Delete the sessionID if you close the browser.
Or am I missing something really big here with how sessions are supposed to work.