I have a module where I'd like to have a function that logs out a user and redirects them to the login page. I'm using mod_perl2. I know in a Mason page I can $m->redirect(), but how can I do it in my module? Is there a mod_perl thing I can do? ($r->headers_out->set(Location => $url) ?)
MyModule->logout(user => $userID); Thanks for the advice! Ryan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users