doublesswizz, Hm that is a strange problem. Although I can't really tell you what is going wrong, I would caution you about using the "fix" you have in place. All it would take for a user to fake an ajax request would to get a simple tool like firebug and set what url the ajax post or get request is calling, and put that into the browser along with the variable you have included includes.
On Aug 7, 8:20 pm, doubleswizz <[EMAIL PROTECTED]> wrote: > Although I'm not sure what is causing the above behavior, I do have a > workaround for it. Whenever I call the controller action via ajax, I > append a get variable onto the URL. Then, I just check for that > variable to determine if the action was called via ajax or not. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
