I am having issues with a website I am making. I need to do a thing like "Facebook" (manage session in the session page, more sessions at the same time):
- when the user login, I open a session, I give him a token and I store it in a MySQL database. And so far, everything is ok.
- If the user login, and set "remember me", I open a session, I give him a token and I store it in a MySQL database. But, how can I set a "remember me"? Because if he close the browser, he lose the session token.
I think I explained myself, please help me. I can't find anything in the web! :(