2.0.0 RC2
Pre-release
Pre-release
- Session ID generation has been separated from storage implementations into a new interface
IdGenerator
and a default implementationDefaultIdGenerator
. - The TTL parameter has been moved to the first parameter of
InMemoryStorage
and the third parameterRedisStorage
constructors. - The first parameter of
RedisStorage
is now an instance ofAmp\Redis\QueryExecutorFactory
instead ofAmp\Redis\Redis
. - The session cookie is always set on each response to extend the session lifetime.
- Fixed a bug where the cache-control header was not set after destroying the session.