Closed mat-k-witts closed 1 year ago
There are different interfaces: SessionInterface and SessionManagerInterface.
Can you add more details please?
Slim4 Ebook:
use Odan\Session\SessionInterface;
[...]
public function __invoke(
ServerRequestInterface $request,
ResponseInterface $response
): ResponseInterface {
[...]
if ($user) {
// Login successfully
// Clears all session data and regenerate session ID
$this->session->destroy();
$this->session->start();
$this->session->regenerateId();
[...]
This eBook article has already been updated to the latest version of this Session package. You can download the latest eBook version (or read it online) via the link in your order confirmation. If you have any further question, please send me an email.
Please note: There is also a public documentation for v6 available here.
AFAICT this interface does not implement: