From b4e9f6795206fab6b952f814ccf812677a34c635 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 7 Dec 2005 00:32:29 +0000 Subject: --- framework/Web/THttpSession.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'framework/Web/THttpSession.php') diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index 5afcfb7a..0698d4d8 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -54,12 +54,8 @@ * @package System.Web * @since 3.0 */ -class THttpSession extends TComponent implements IModule +class THttpSession extends TModule { - /** - * @var string ID of this module - */ - private $_id; /** * @var THttpSessionCollection list of session variables */ @@ -89,6 +85,8 @@ class THttpSession extends TComponent implements IModule */ public function init($application,$config) { + parent::init($application,$config); + if($this->_autoStart) session_start(); $this->_initialized=true; @@ -133,22 +131,6 @@ class THttpSession extends TComponent implements IModule } } - /** - * @return string the ID of this session module (not session ID) - */ - public function getID() - { - return $this->_id; - } - - /** - * @param string the ID of this session module (not session ID) - */ - public function setID($value) - { - $this->_id=$value; - } - /** * @return THttpSessionCollection list of session variables */ -- cgit v1.2.3