From d7a084b30771a8abbfb66856773def1b01b13a9e Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 13 Jan 2015 14:19:39 +0100 Subject: Fix #541 --- framework/Web/THttpSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index b96a977e..dd1cf854 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -127,7 +127,7 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar if($this->_customStorage) session_set_save_handler(array($this,'_open'),array($this,'_close'),array($this,'_read'),array($this,'_write'),array($this,'_destroy'),array($this,'_gc')); if($this->_cookie!==null) - session_set_cookie_params($this->_cookie->getExpire(),$this->_cookie->getPath(),$this->_cookie->getDomain(),$this->_cookie->getSecure()); + session_set_cookie_params($this->_cookie->getExpire(),$this->_cookie->getPath(),$this->_cookie->getDomain(),$this->_cookie->getSecure(),$this->_cookie->getHttpOnly()); if(ini_get('session.auto_start')!=='1') session_start(); $this->_started=true; -- cgit v1.2.3