Skip to content
This repository was archived by the owner on May 24, 2018. It is now read-only.

Simplify example for zend.session.manager #1428

@adamlundrigan

Description

@adamlundrigan

The current example is very complex:

http://zf2.readthedocs.org/en/latest/modules/zend.session.manager.html#initializing-the-session-manager

IMO the SessionManagerFactory provided by ZF2 would take care of most of this boilerplate.

An example of how I approach configuring the SessionManager in my projects: ZF-Commons/ZfcUser#274 (comment). In that example, we could pass configuration options (eg: validator list) to the SessionManager factory via the session_manager config key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions