oops, wrong key - as I was saying...
function action($id = null)
{
if (!$id)
{
flash an error msg
redirect etc
}
Should those type of requests be rejected with a 404? I have numerous
bots generating bad requests for links that were up for mere moments
during debugging, and am now into bigtime parm validation, not just
checking for existence of parms but making sure they are valid
indices, etc. While I have been logging them I am wondering how to
make these bots stop requesting these bad requests, now that I am no
longer publishing "incorrect links". I don't want to keep them away
completely via robots.txt -- should I just throw 404 errors when these
incorrect requests come along? Will that ultimately make them stop?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---