hesco has asked for the wisdom of the Perl Monks concerning the following question:
I have a logout_button which renders a form that sets a hidden fields 'authen_logout' to 1. I am also calling $self->authen->logout(); directly. But in either case, I get back in my browser, the following:
Any ideas what I might be missing?Forbidden: You don't have permission to access / on this server.
I even have dispatch logic which looks like this:
The behavior I expect to see is that a new login form is displayed.if ($button eq 'Logout') { $logger->debug('dpr_EnterPrsRls logout button chosen.\n"'); $form->param(-name => 'authen_logout', -value => '1'); $self->authen->logout();
The behavior I observe is the Forbidden message, after a reload, another Forbidden message, then I use back to get back to the menu. When I attempt to load another authenticated runmode, I am finally diverted to the login form.
All help is appreciated.
-- Hugh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::App::Plugin::Authentication logout issues.
by helphand (Pilgrim) on Mar 18, 2006 at 22:10 UTC | |
|
Re: CGI::App::Plugin::Authentication logout issues.
by cees (Curate) on Mar 21, 2006 at 20:45 UTC | |
|
Re: CGI::App::Plugin::Authentication logout issues.
by hesco (Deacon) on Mar 19, 2006 at 23:32 UTC |