Try using session_cache_limiter("must-revalidate");
before your session_start()
After regenerate new session id IE 8 close current session
Question
After some seconds, Internet Explore 8 closed the current session.
Chrome, FireFox etc. don't have a problem with this code:
session_start();
// UPDATE EVERY 15 MINUTES THE SESSION ID FROM USER //
if (!isset($_SESSION['CREATED'])) {
$_SESSION['CREATED'] = time();
} else if (time() - $_SESSION['CREATED'] > 10) {
session_regenerate_id(true); $_SESSION['CREATED'] = time();
}
Whats the problem with the famous Internet Explorer?
I do something wrong?
Thanks for some help!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow