JwtSession is a PHP session replacement. Instead of use FileSystem, just use JWT TOKEN. The implementation follow the SessionHandlerInterface.
Bot releases are visible (Hide)
Full Changelog: https://github.com/byjg/php-jwt-session/compare/2.0.0...4.9.0
Published by byjg almost 6 years ago
Important changes that break compatibility with previous versions:
replaceSessionHandler()
to SessionConfig
Examples:
before
<?php
$handler = new \ByJG\Session\JwtSession(
'your.domain.com',
'your super secret key',
null,
null,
'.mydomain.com'
);
$handler->replaceSessionHandler(true);
now
<?php
$sessionConfig = (new \ByJG\Session\SessionConfig('your.domain.com'))
->withSecret('your super secret key')
->withCookie('.mydomain.com', '/')
->replaceSessionHandler();
$handler = new \ByJG\Session\JwtSession($sessionConfig);
Published by byjg almost 6 years ago
Update Issue #6 - Cookie Set and Delete Error
Update Issue #7 - Include Path as Parameters
Update Issue #8 - Set HttpOnly (Security patch)
Published by byjg about 6 years ago
Fixed convert object issues
Published by byjg over 6 years ago
Allow to set cookie domain
Published by byjg over 7 years ago