* if session id passed through GET, use it by session_id().

This commit is contained in:
wangchunsheng
2010-09-03 02:55:54 +00:00
parent e157c81adf
commit f88128ab18
+1
View File
@@ -33,6 +33,7 @@ class common extends control
{
parent::__construct();
session_name($this->config->sessionVar);
if(isset($_GET[$this->config->sessionVar])) session_id($_GET[$this->config->sessionVar]);
session_start();
$this->sendHeader();
$this->loadModel('company');