diff options
-rw-r--r-- | demos/personal/protected/application.xml | 2 | ||||
-rw-r--r-- | framework/Web/THttpSession.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml index e8189eb0..48fa0490 100644 --- a/demos/personal/protected/application.xml +++ b/demos/personal/protected/application.xml @@ -9,7 +9,9 @@ <!-- Remove this comment mark to enable PATH url format
<module id="request" class="THttpRequest" UrlFormat="Path" />
-->
+ <!--
<module id="session" class="THttpSession" />
+ -->
<module id="log" class="System.Log.TLogRouter">
<route class="TBrowserLogRoute" Categories="System" />
<route class="TFileLogRoute" Categories="System" Levels="Notice,Warning,Error,Alert,Fatal" />
diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index ad7d272a..97ab6b08 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -103,7 +103,7 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar public function init($config)
{
if($this->_autoStart)
- session_start();
+ $this->open();
$this->_initialized=true;
$this->getApplication()->setSession($this);
}
|