Reworked Session to make the expiration a store's responsibility and
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>
Sat, 9 Jan 2010 16:14:39 +0000 (08:14 -0800)
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>
Sat, 9 Jan 2010 16:14:39 +0000 (08:14 -0800)
commitcaf3bd90cdf0aebba03039729f0ad60c0d06c6e8
treea53ad1a2fc2ec28a97016cdc4dfee5ab85c353a8
parent4a0cb5a0600289cfa5ffb0dbf005b154dfe681f0
Reworked Session to make the expiration a store's responsibility and
fix the bug in state where it handles expires as an object state.

psgi.streaming is supported in most Plack servers especially
Standalone, so there's no need to depend on AnyEvent in the test.

Added $session->commit now that all write code to the database is
delayed till the finalization phase.
Makefile.PL
lib/Plack/Middleware/Session.pm
lib/Plack/Session.pm
lib/Plack/Session/State.pm
lib/Plack/Session/State/Cookie.pm
lib/Plack/Session/Store.pm
lib/Plack/Session/Store/File.pm
t/006_basic_w_null_store.t
t/012_streaming.t