How to record sessions in the browser with php.
I currently have a login system, and always validate the [$_SESSIONS]
in the browser, but every time I close and reopen the browser, login no longer exists.
How best to store your data in the browser.
- Will it be useful to use COOKIES?
- Should I save sessions in Database?
What is the best way to do this, so that you never have to log in?