summaryrefslogtreecommitdiff
path: root/framework/Web/THttpSession.php
diff options
context:
space:
mode:
authorxue <>2005-12-07 00:32:29 +0000
committerxue <>2005-12-07 00:32:29 +0000
commitb4e9f6795206fab6b952f814ccf812677a34c635 (patch)
treee3be7c6031cd947f233d9e6cbcdec813e391f5ef /framework/Web/THttpSession.php
parentec46fdc945f591e910051aca0457097825afd34c (diff)
Diffstat (limited to 'framework/Web/THttpSession.php')
-rw-r--r--framework/Web/THttpSession.php24
1 files changed, 3 insertions, 21 deletions
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,13 +54,9 @@
* @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
*/
private $_items;
@@ -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;
@@ -134,22 +132,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
*/
public function getItems()