I have Apache::AuthCookieDBI working for login and session expiration ( I set it to 5 minutes so that I could basically watch the session ticket expire ), but manual logout isn't working ...
I've tried the logout.pl that comes in the Apache::AuthCookie dist, but that didn't work.
I've rolled this:
my %cookies = Apache::Cookie->fetch($r); foreach my $name ( values %cookies ) { $name->expires("-1d"); $name->bake(); }
$r->content_type("text/html"); $r->status(200); $r->send_http_header;
my $tmpl = HTML::Template->new( path => TMPL_PATH, filename => TMPL_FILE ); print $tmpl->output();
but no luck, because there's nothing in %cookies. ( I verified that by assigning a new var to Dumper \%cookies and passing that to HTML::Template and got nothing. )
Any advice? I'd like manual logout to work as well ...
--brian
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html