EllisLab/CodeIgniter — pull request #1940 by dchill42 (2012-10-29 01:59:35+00:00)
Title: Added close and forwarding features to native Session

Simple concurrency solution for native sessions based on discussions in #1746. Allows closing current session with $this->session->native->close() to release file lock and allow session access to concurrent requests. Also offers limited-time forwarding of old sessions to newly regenerated session IDs so concurrent requests don't lose access to current session data when ID is regenerated.

Credit to @GDmac and @Areson for contributions to this solution.

Signed-off-by: dchill42