A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.yiiframework.com/doc/api/2.0/yii-web-sessionhandler below:

SessionHandler, yii\web\SessionHandler | API Documentation for Yii 2.0

Class yii\web\SessionHandler

SessionHandler implements an SessionHandlerInterface for handling yii\web\Session with custom session storage.

Method Details

Hide inherited methods

Source code

                public function __construct(Session $session)
{
    $this->_session = $session;
}

            

Source code

                public function close(): bool
{
    return $this->_session->closeSession();
}

            

Source code

                public function destroy($id): bool
{
    return $this->_session->destroySession($id);
}

            
public void gc ( $max_lifetime ) $max_lifetime

Source code

                
public function gc($max_lifetime)
{
    return $this->_session->gcSession($max_lifetime);
}

            
public void open ( $path, $name ) $path $name

Source code

                public function open($path, $name): bool
{
    return $this->_session->openSession($path, $name);
}

            
public void read ( $id ) $id

Source code

                
public function read($id)
{
    return $this->_session->readSession($id);
}

            
public void write ( $id, $data ) $id $data

Source code

                public function write($id, $data): bool
{
    return $this->_session->writeSession($id, $data);
}

            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4