diff options
author | xue <> | 2005-12-07 00:32:29 +0000 |
---|---|---|
committer | xue <> | 2005-12-07 00:32:29 +0000 |
commit | b4e9f6795206fab6b952f814ccf812677a34c635 (patch) | |
tree | e3be7c6031cd947f233d9e6cbcdec813e391f5ef /framework/Web/THttpSession.php | |
parent | ec46fdc945f591e910051aca0457097825afd34c (diff) |
Diffstat (limited to 'framework/Web/THttpSession.php')
-rw-r--r-- | framework/Web/THttpSession.php | 24 |
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()
|