projects
/
catagits/Web-Session.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Middleware added, cookie state added, and example psgi app
[catagits/Web-Session.git]
/
lib
/
Plack
/
Session.pm
diff --git
a/lib/Plack/Session.pm
b/lib/Plack/Session.pm
index
14c93b6
..
5a41010
100644
(file)
--- a/
lib/Plack/Session.pm
+++ b/
lib/Plack/Session.pm
@@
-43,8
+43,9
@@
sub expire {
}
sub finalize {
- my $self = shift;
- $self->store->persist( $self->id )
+ my ($self, $response) = @_;
+ $self->store->persist( $self->id, $response );
+ $self->state->finalize( $self->id, $response );
}
1;
\ No newline at end of file