Revision history for Perl extension Catalyst::Plugin::Session
+0.06
+ - Set sessionid only if unset, allowing State plugins to stack (gphat)
+
0.05
- Un-workaround the Cache::FastMmap (actually Storable) limitation -
it's not C::P::Session's business.
my $c = shift;
if (@_) {
+ if($c->_sessionid()) {
+ $c->log->warn('Session ID already set, ignoring.');
+ return $c->_sessionid();
+ }
if ( $c->validate_session_id( my $sid = shift ) ) {
$c->_sessionid($sid);
return unless defined wantarray;