NAME
Plack::Middleware::Session::FixationDefender - Plack::Middleware::Session + fixation block
SYNOPSIS
# app.psgi
builder {
enable 'Session::Fixation',
$app;
};
# Login Action
if ($self->auth) {
# login OK
$req->env->{'psgix.session.options'}->{'change_id'}++;
} else {
# login FAILED
...
}
AUTHOR
Shinichiro Aska
LICENCE AND COPYRIGHT
Copyright (c) 2010, Shinichiro Aska <s.aska.org@gmail.com>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.