[Catalyst] how to confirm before deleteing

Simon Wilcox simonw at digitalcraftsmen.net
Wed Jan 21 15:22:36 GMT 2009


Dave Howorth wrote:
> Paul Falbe wrote:
>> That works thank you very much.  Don't know how many google searchs I did
>> trying to find that out!
> 
>> Rodrigo-51 wrote:
>>> Paul, how about a javascript confirm() box?
> 
> ... and if the user has Javascript disabled? ????

Or if you have some like Google's ill-fated prefetch running, caching 
all the links it finds on a page ?

GETing a link should really only be used when the action is idempotent. 
If it changes stuff then you ought to use a POST via a form button.

S.



More information about the Catalyst mailing list