Hi Josef,

> [I've added the following] to the beginning of my controller class,
> and it does get called when I call logout;
> however the URLs in the frontpage don't get computed correctly.

Cool. Now you just modify the request a little bit. You reset the
table attribute of the request to empty.

Yes, this is a bit of abuse of the table attribute of the request, but
it's not that inelegant.


>     sub authenticate {
>         my ($self, $r) = @_;
>
>         if ($r->{table} eq "logout") {
>             Maypole::Plugin::Authentication::UserSessionCookie::logout($self,
>     $r);
>             $r->template("frontpage");

Add :
               $r->table('');

>             return OK;
>         }
>
>         ...
>     }

That *should* work as you'd hope, although I haven't tested it.

Let me know if it works.

cheers,

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to