zendframework/zf2 — pull request #3639 by mwillbanks (2013-01-31 17:30:56+00:00)
Title: Session Metadata and SessionArrayStorage requestaccesstime fixes.

## Overview
2.1 changed slightly in how the session manager retrieved results from the storage; unfortunately this caused the meta data to be blown away. Unfortunately in 2.0.x it was not clear that the type cast was working around the toArray method. Now toArray has a $metaData = false parameter to ensure that we can save the metadata when writing the session.

Additionally the Storage containers were never meant to directly modify $_SESSION; however, to fix issues with storage containers from ArrayObject this was made. Unfortunately when it is initialized it attempts to set the request access time; this has been changed to do it on session start by utilizing the fromArray method.