[Catalyst] Relative links

Zbigniew Lukasiak zzbbyy at gmail.com
Thu Nov 10 15:18:28 CET 2005


> One other reason to do the redirect is to avoid reload issues. If the
> URL still shows /admin/things/delete?o=X and it's showing the list,
> if I hit reload, it will post the previous form again, and depending
> on how you code your app, it could do nothing or bad things. Either
> way, it's messy from a user pov, IMHO.

Just my 2 cents to that: you should not have action with side effects
(like a delete) run by a GET method, you shoule use POST for that.  I
know in practice many people breake that rule - but ideally all GET
actions should not have side effects.

-- zby


More information about the Catalyst mailing list