[Catalyst-commits] r6437 - in trunk/Catalyst-Plugin-Session: .
lib/Catalyst/Plugin
mla at dev.catalyst.perl.org
mla at dev.catalyst.perl.org
Sun May 27 21:08:07 GMT 2007
Author: mla
Date: 2007-05-27 21:08:06 +0100 (Sun, 27 May 2007)
New Revision: 6437
Modified:
trunk/Catalyst-Plugin-Session/Changes
trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm
Log:
change finalize() to redispatch before saving session so other finalize methods have access to it
Modified: trunk/Catalyst-Plugin-Session/Changes
===================================================================
--- trunk/Catalyst-Plugin-Session/Changes 2007-05-27 12:09:22 UTC (rev 6436)
+++ trunk/Catalyst-Plugin-Session/Changes 2007-05-27 20:08:06 UTC (rev 6437)
@@ -1,5 +1,9 @@
Revision history for Perl extension Catalyst::Plugin::Session
+0.16 2007-05-27
+ - Changed finalize() to redispatch before saving session
+ so other finalize methods still have access to it.
+
0.15 2007-04-04 23:10:00
- Fix the bug that caused sessions to expire immediately when another
session was deleted previously in the same request cycle
Modified: trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm
===================================================================
--- trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm 2007-05-27 12:09:22 UTC (rev 6436)
+++ trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm 2007-05-27 20:08:06 UTC (rev 6437)
@@ -92,9 +92,9 @@
sub finalize {
my $c = shift;
+ $c->NEXT::finalize(@_);
+
$c->finalize_session;
-
- $c->NEXT::finalize(@_);
}
sub finalize_session {
More information about the Catalyst-commits
mailing list