mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Revert removal of session_cache_limiter()
It was removed in [4a6159c9af
].
The session_cache_limiter() is required for IE8 to correctly
hold onto sessions.
Fixes #2781
This commit is contained in:
parent
4e1a2670da
commit
2fd15b6c7e
1 changed files with 2 additions and 0 deletions
|
@ -602,6 +602,8 @@ class CakeSession {
|
|||
$_SESSION = array();
|
||||
}
|
||||
} else {
|
||||
// For IE<8
|
||||
session_cache_limiter("must-revalidate");
|
||||
session_start();
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue