Huge rewrite of the code: $session->get, ->set etc. do not read from
[catagits/Web-Session.git] / lib / Plack / Session / State / Cookie.pm
index 3cff564..f6078d9 100644 (file)
@@ -20,7 +20,7 @@ sub expire_session_id {
     $self->expires( 0 );
 }
 
-sub get_session_id_from_request {
+sub get_session_id {
     my ($self, $request) = @_;
     ( $request->cookie( $self->session_key ) || return )->value;
 }