I'm working on a Maypole::Plugin::Redirect. What it does is allow you to
redirect in you maypole app (return $r->redirect('/table/action/...') ). It
also saves your current $r state so that you can come back to it from where you
were redirected to. (return $r->from_redirect). Also, redirects can be done
from redirects. They are stacked.
I'm having a few issues:
It redirects and returns fine (last i tried ;) ) but that was the easy part.
The hard part is computer knowing when to return (a user's big problem) and
when the redirect stack is invalid and should be destroyed.
I hope someone has some fresh ideas. Attached is the code. I appreciate any
suggestions on codeing, style , or API, or anything else. i'm thinking maybe a
redirect object is in order but am not sure.
thanks
=====
pjs
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT