Making multiple concurrent AJAX requests to a PHP script, for example, may have left you wondering why the requests are not executed in parallel as expected. Rather, the requests are blocking each other. Chances are that this is caused by using sessions within the PHP script.
This article gives an introduction on how to use sessions in Zend Framework 2. As it turns out, it is actually very easy. Information on what happens behind the scenes is also provided, so if you are the kind of person who likes to know the details, then this article is also for you.