Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

zend-expressive-session 1.2.0

Choose a tag to compare

@weierophinney weierophinney released this 30 Oct 21:09
· 21 commits to master since this release

Added

  • #28 adds a new interface, SessionCookiePersistenceInterface, defining:
    • the constant SESSION_LIFETIME_KEY
    • the method persistSessionFor(int $duration) : void, for developers to hint
      to the persistence engine how long a session should last
    • the method getSessionLifetime() : int, for persistence engines to
      determine if a specific session duration was requested

Changed

  • #28 updates both Session and LazySession to implement the new
    SessionCookiePersistenceInterface. If a SessionCookiePersistenceInterface::SESSION_LIFETIME_KEYis present in the initial session data provided to aSession` instance, this
    value will be used to indicate the requested session duration; otherwise, zero
    is used, indicating the session should end when the browser is closed.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.