2.0.0 RC2
Pre-release
Pre-release
- Session ID generation has been separated from storage implementations into a new interface
IdGeneratorand a default implementationDefaultIdGenerator. - The TTL parameter has been moved to the first parameter of
InMemoryStorageand the third parameterRedisStorageconstructors. - The first parameter of
RedisStorageis now an instance ofAmp\Redis\QueryExecutorFactoryinstead 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.