From 2fd15b6c7e21a8fcc29d66e759b8ec741fea81d1 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 14 Apr 2012 10:04:43 -0400 Subject: [PATCH] Revert removal of session_cache_limiter() It was removed in [4a6159c9af7c3490a24d37a5334b08e8000969e9]. The session_cache_limiter() is required for IE8 to correctly hold onto sessions. Fixes #2781 --- lib/Cake/Model/Datasource/CakeSession.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Cake/Model/Datasource/CakeSession.php b/lib/Cake/Model/Datasource/CakeSession.php index 2abddbaec..bcae92caa 100644 --- a/lib/Cake/Model/Datasource/CakeSession.php +++ b/lib/Cake/Model/Datasource/CakeSession.php @@ -602,6 +602,8 @@ class CakeSession { $_SESSION = array(); } } else { + // For IE<8 + session_cache_limiter("must-revalidate"); session_start(); } return true;