use strict;
use warnings;
+our $VERSION = '0.03';
+our $AUTHORITY = 'cpan:STEVAN';
+
use parent 'Plack::Session::State';
use Plack::Util::Accessor qw[
$self->expires( 0 );
}
-sub get_session_id_from_request {
+sub get_session_id {
my ($self, $request) = @_;
( $request->cookie( $self->session_key ) || return )->value;
}
=head1 COPYRIGHT AND LICENSE
-Copyright 2009 Infinity Interactive, Inc.
+Copyright 2009, 2010 Infinity Interactive, Inc.
L<http://www.iinteractive.com>