Sessions Articles

Using Sessions In Zend Framework 2 – Part 2

April 6, 2014

<p>In this tutorial, we looking further at Sessions in Zend Framework 2, specifically investigating session validators and the different backend storage options available.</p>

Using Sessions In Zend Framework 2 - Part 1

April 29, 2014

<p>We all know that <!-- raw HTML omitted -->PHP<!-- raw HTML omitted --> implements a stateless approach to applications. The <!-- raw HTML omitted -->PHP<!-- raw HTML omitted --> process starts, variables are allocated, information generated and stored, then when the request is finished, all of the state is lost. Any information generated and stored during the request, during its lifetime, is lost when it ends.</p> <p>To help work around this, <!-- raw HTML omitted -->PHP<!-- raw HTML omitted --> <!-- raw HTML omitted -->introduced the concept of sessions<!-- raw HTML omitted -->, which allows for storing information across requests. However, like most things, as application’s have become more complex, the ability to interact with sessions in a way that matches the needs of the application has continued to grow as well.</p>