our login data is stored
either in $SESSION or in $COOKIE
or in both
( can sometimes be stored in a Database, too )
$_SESSION remembering will only be remembered as long as you do not close down your browser
if you open a new page, without closing down Firefox, you will be still logged in.
$_COOKIE will remember, for a specified Time, that you are logged in
After this time cookie will be destroyed and you have to login again.
Cookie will remember logged in even if you close down Firefox and open it again.
The time you are remembered can be set for anything between 0 - forever seconds.
After this time, cookie expires, and you have to log in again.
Cookie is stored in your PC.
If you login and go to a friend, your cookie is not in his machine
and you have to login again.
Now COOKIES is stored for each browser.
IExplorer has got its cookies, Firefox has got its cookies.
If you log in with Firefox, you are still NOT logged in with IExplorer.
🙂