[Catalyst] how to confirm before deleting
toby.corkindale at strategicdata.com.au
Thu Jan 22 06:12:47 GMT 2009
Kieren Diment wrote:
> the remainder are bots ...
> other end if you go that route.
Oh, and watch out for a Classic Error I saw in someone's code a little
They had entered a bunch of state-modifying buttons like this:
<a href="/blah/blah/$id/delete" onclick="confirm(..)"><img
But what happens when your site gets spidered by a search engine, that
follows all links?
There's a good reason state-modification-actions should be POST (or
rather, non-GET, if you want to go with PUT, DELETE, etc)
> On 22/01/2009, at 3:06 PM, Jonathan Rockway wrote:
>> * On Wed, Jan 21 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:
More information about the Catalyst