[Catalyst-commits] r14260 - in Catalyst-Plugin-Session/0.00/trunk:
. lib/Catalyst/Plugin
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Mar 8 16:27:11 GMT 2012
Author: t0m
Date: 2012-03-08 16:27:11 +0000 (Thu, 08 Mar 2012)
New Revision: 14260
Modified:
Catalyst-Plugin-Session/0.00/trunk/Changes
Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
Log:
Version 0.33
Modified: Catalyst-Plugin-Session/0.00/trunk/Changes
===================================================================
--- Catalyst-Plugin-Session/0.00/trunk/Changes 2012-03-08 14:21:27 UTC (rev 14259)
+++ Catalyst-Plugin-Session/0.00/trunk/Changes 2012-03-08 16:27:11 UTC (rev 14260)
@@ -1,5 +1,9 @@
Revision history for Perl extension Catalyst::Plugin::Session
+0.33 2012-03-08
+ - Note that flash is deprecated / not recommended due to it's
+ inherent races. Point out Catalyst::Plugin::StatusMessage instead
+
0.32 2011-06-08
- Fix handling with enables verify_address and add related test
Modified: Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
===================================================================
--- Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm 2012-03-08 14:21:27 UTC (rev 14259)
+++ Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm 2012-03-08 16:27:11 UTC (rev 14260)
@@ -13,7 +13,7 @@
use namespace::clean -except => 'meta';
-our $VERSION = '0.32';
+our $VERSION = '0.33';
$VERSION = eval $VERSION;
my @session_data_accessors; # used in delete_session
@@ -727,6 +727,15 @@
all the keys which haven't changed since the flash data was loaded at the end
of every request.
+Note that use of the flash is an easy way to get data across requests, but
+it's also strongly disrecommended, due it it being inherently plagued with
+race conditions. This means that it's unlikely to work well if your
+users have multiple tabs open at once, or if your site does a lot of AJAX
+requests.
+
+L<Catalyst::Plugin::StatusMessage> is the recommended alternative solution,
+as this doesn't suffer from these issues.
+
sub moose : Local {
my ( $self, $c ) = @_;
More information about the Catalyst-commits
mailing list