use URI::Find;
use File::Temp 'tempdir';
-our $VERSION = '0.05';
+our $VERSION = '0.06';
__PACKAGE__->mk_classdata('_session');
__PACKAGE__->mk_accessors('sessionid');
sub finalize {
my $c = shift;
- my $redirect = $c->response->redirect;
- $c->response->redirect( $c->uri($redirect) ) if $redirect;
+ unless ($c->config->{no_url_rewrite}) {
+ my $redirect = $c->response->redirect;
+ $c->response->redirect( $c->uri($redirect) ) if $redirect;
+ }
if ( my $sid = $c->sessionid ) {
$c->_session->set( $sid, $c->session );
my $set = 1;
How often should the system purge sessions. Defaults to 1 time
per day.
-=head auto_purge_on_set
+=head3 auto_purge_on_set
Is auto purge enabled? defaults to true.