Méthode |
Description |
|
close ( ) : void |
Explicitly writes and closes the session |
|
destroy ( string $reason ) : void |
Explicitly destroys all session data and adds a cookie to the
response that invalidates the session in the browser. |
|
getRequest ( ) : AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface |
Returns the request instance we're working on. |
|
getResponse ( ) : AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface |
Returns the response instance we're working on. |
|
injectRequest ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $request ) : void |
Injects the request instance. |
|
removeData ( string $key ) : void |
Removes the session data entry $key from the session. |
|
renewId ( ) : string |
Generates and propagates a new session ID and transfers all existing data
to the new session. |
|
shutdownObject ( ) : void |
Shuts down this session |
|
start ( ) : void |
Creates and returns the session cookie to be added to the response. |
|