Add option to enable/disable cache-friendly behavior

This commit is contained in:
Kijin Sung 2015-07-12 14:50:59 +09:00
parent ff45072103
commit 1c5424358d
5 changed files with 28 additions and 2 deletions

View file

@ -350,8 +350,8 @@ class Context
{
$session_id = $_COOKIE[$session_name];
}
if($session_id !== NULL)
if($session_id !== NULL || $this->db_info->cache_friendly != 'Y')
{
$this->isSessionStarted = TRUE;
$this->setCacheControl(0, false);