diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-13 14:19:39 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-13 14:19:39 +0100 |
commit | d7a084b30771a8abbfb66856773def1b01b13a9e (patch) | |
tree | 8050c6f43320f491ef8893779cf1bf45bacdf9e1 /framework/Web/THttpSession.php | |
parent | cca2a4964c1096431166f5ab2f7b359bac6ff6cf (diff) |
Fix #541
Diffstat (limited to 'framework/Web/THttpSession.php')
-rw-r--r-- | framework/Web/THttpSession.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |