I use this when someone is logged in ok on my site:
session_start ();
$auth_ok = "my_page_logedin";
$_SESSION[$auth_ok] = TRUE;
Then I check
if ($_SESSION[$auth_ok] == TRUE) {
//still logged in!
}
And I use my script on several pages and just found this error: When exiting browser after login (without logout) and then start browser again and go to the same page. Then is $_SESSION[$auth_ok] still set to TRUE so I'm stilled logedin!
Is this a server thing? What can I do so it checks that the browser not have been restarted?
Hope you understand what my problem is, my english suck bad 🙁
Peace & Love