use strict;
use warnings;
+our $VERSION = '0.02';
+our $AUTHORITY = 'cpan:STEVAN';
+
use Plack::Util::Accessor qw[ _stash ];
sub new {
()
}
+sub dump_session {
+ my ($self, $session_id) = @_;
+ $self->_stash->{ $session_id } || {};
+}
+
1;
__END__
This method is called by the L<Plack::Session> C<expire> method and
is used to remove any session data.
+=item B<dump_session ( $session_id )>
+
+This method is mostly for debugging purposes, it will always return
+a HASH ref, even if no data is actually being stored (in which case
+the HASH ref will be empty).
+
=back
=head1 BUGS