diff --git a/src/web/Session.php b/src/web/Session.php index 123603b..f55f529 100644 --- a/src/web/Session.php +++ b/src/web/Session.php @@ -21,6 +21,8 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co public $handler; public $timeout = null; + + public $name = "feehi_session"; private $_cookieParams = [ 'lifetime' => 1400, @@ -151,10 +153,15 @@ public function getId() public function regenerateID($deleteOldSession = false) { } + + public function setName($name) + { + $this->name = $name; + } public function getName() { - return "feehi_session"; + return $this->name; } public function getSavePath() @@ -359,4 +366,4 @@ public function offsetUnset($offset) $this->open(); unset($_SESSION[$offset]); } -} \ No newline at end of file +}