Hi,

I wonder how I can use Zend\Session\Service\SessionConfigFactory to
configure my sessions. My module.config.php looks like this:

==========================================================================
return array(
    'service_manager' => array(
        'factories' => array(
            'Zend\Session\Config\ConfigInterface' =>
'Zend\Session\Service\SessionConfigFactory',
        ),
    ),

    'session_config' => array(
        'save_path' => realpath(APPLICATION_ROOT . '/data/session'),
        'name'      => 'ZFS_SESSION',
    ),
);
==========================================================================

But the session configuration is not changed. I guess, I need to request
the 'Zend\Session\Config\ConfigInterface' service from the service
manager, but that feels a little wrong.

Please advise!

Regards,

Ralf

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to