Of course there are requests that need authentication, but that's not always the case. Eagerly initialization of the session has no advantage at all.
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 17 May 2013 14:42, jas <jason.ger...@gmail.com> wrote: > That solved the problem. This is more of a general practice question > regarding a REST api not using sessions. I am assuming your REST api > development has never included an authenticated REST service? I suppose I > like the idea of tracking the authenticated sessions over a REST > (XMLHttpRequest) or simply HTTP 1/1 request. > > > > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/Custom-session-handler-global-initialization-tp4660037p4660055.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- > List: fw-general@lists.zend.com > Info: http://framework.zend.com/archives > Unsubscribe: fw-general-unsubscr...@lists.zend.com > > >