From 8d257986af10493ae6ddbab5e304e3503c8bc420 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Fri, 17 Jun 2011 11:24:06 +0000 Subject: fixed missing timeout on TCacheHttpSession - reported on the forum by FragMaster B - branch/3.1 --- framework/Web/TCacheHttpSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Web/TCacheHttpSession.php b/framework/Web/TCacheHttpSession.php index daa94122..af315321 100644 --- a/framework/Web/TCacheHttpSession.php +++ b/framework/Web/TCacheHttpSession.php @@ -108,7 +108,7 @@ class TCacheHttpSession extends THttpSession */ public function _write($id,$data) { - return $this->_cache->set($this->calculateKey($id),$data); + return $this->_cache->set($this->calculateKey($id),$data,$this->getTimeout()); } /** -- cgit v1.2.3