Package Home

Zend Framework 2 Documentation (Manual)

PHK Home

File: /_sources/modules/zend.session.config.txt

Size:815
Storage flags:no_autoload,compress/gzip (47%)

.. _zend.session.config:

Session Config
==============

Zend Framework comes with a standard set of config classes which are ready for you to use.  Config handles setting
various configuration such as where a cookie lives, lifetime, including several bits to configure ext/session when
using ``Zend\Session\Config\SessionConfig``.

.. include:: zend.session.config.standard-config.rst
.. include:: zend.session.config.session-config.rst

Custom Configuration
--------------------

In the event that you prefer to create your own session configuration; you *must* implement
``Zend\Session\Config\ConfigInterface`` which contains the basic interface for items needed when implementing a session.
This includes cookie configuration, lifetime, session name, save path and an interface for getting and setting options.

For more information about the PHK package format: http://phk.tekwire.net