zendframework/zf2 — pull request #3430 by mwillbanks (2013-01-14 16:20:54+00:00)
Title: SessionManager: Throw exception when attempting to setId after the session has been started

## Overview
SessionManger attempts to destroy the current session and then set the id by starting the session again; this is actually invalid as once the session has been started the only way to set the id again is to regenerate the session. In the event you want to set your own session id this MUST be done prior to the session start. Please see the PHP documentation for session_id(): http://www.php.net/session_id

After the session has been started, SessionManager::setId will now throw a RuntimeException stating that regenerateId must be called to generate a new session ID.

## Issues Resolved
#2920