The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache2::Controller::Log::SessionSave - Log phase handler to save session data from Apache2::Controller::Session hook.

VERSION

Version 1.001.001

SYNOPSIS

Don't do anything with this handler. It's set by Apache2::Controller::Session to save your session.

METHODS

process

If aborted connection, don't save, and return.

If status >- 300 and not set $r->pnotes->{a2c}{session_force_save}, don't save, and return.

If session object is not tied, throw an error. This may not do anything noticible to the user since the request response is finished, but you'll see it in the log.

Update the top-level timestamp in the session if the directive A2C_Session_Always_Save is set.

Untie the session so Apache::Session saves it or not.

SEE ALSO

Apache2::Controller::Session

Apache2::Controller

Apache::Session

AUTHOR

Mark Hedges, <hedges at formdata.biz>

COPYRIGHT & LICENSE

Copyright 2008-2010 Mark Hedges, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This software is provided as-is, with no warranty and no guarantee of fitness for any particular purpose.