SocalNick/ScnSocialAuth — pull request #33 by SocalNick (2012-11-14 00:51:06+00:00)
Title: Hotfix Session Start

This hotfix makes sure to do a Zend\Session\SessionManager::start before instantiating the HybridAuth object.

@jhuet - I was hoping you could review this as I know you are a contributor to ScnSocialAuth

@weierophinney - I know you are also using this and was hoping to get your opinion on requiring a module user to configure a SessionManager in their application

Finally,

@mwillbanks - I chatted with you on zftalk.dev on 2012/12/09 about the issue I was having with Zend\Session and 3rd party libraries that access $_SESSION directly. I believe I need to do Zend\Session\SessionManager::start before the 3rd party accesses $_SESSION because Zend\Session\SessionManager::start sets $_SESSION = $storage, a Zend\Session\Storage\SessionStorage. If I didn't start the session, the items set by the 3rd party library would not persist between requests. If this is the case, we should probably document somewhere.