Skip to content

2.0.0 RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@trowski trowski released this 16 Sep 17:34
e4d4f49
  • Session ID generation has been separated from storage implementations into a new interface IdGenerator and a default implementation DefaultIdGenerator.
  • The TTL parameter has been moved to the first parameter of InMemoryStorage and the third parameter RedisStorage constructors.
  • The first parameter of RedisStorage is now an instance of Amp\Redis\QueryExecutorFactory instead of Amp\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.