Hi,
Jason Kohles wrote:
Instead of trying to forward to the action that the URI would have
given them, once they have logged in just redirect them back to the
stored URL, and let the dispatcher handle it as normal. This also
avoids problems where you forward to the action they were requesting,
and they then bookmark that page, which actually bookmarks the login
page because the URL didn't change with the ->forward().
I usually handle it like this:
one vote from me for putting this and the code into the cookbook, best
practices or whatever page. :)
(and I can delete the Catalyst-saved subfolder in my mailer then ;) )
take care
Kami
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/