Hey guys, I have this setup: Controller C has two actions A1 and A2. In the view of A1, in a loop I am doing requestAction(A2). My problem is that A2 can also be requested directly, by writing in the address bar of the browser: C/A2. Is there anyway of preventing the execution of A2 directly?
PS: Don't argue with the current code structure, because I am not willing to change it. I just want to disable direct access to A2, if possible; so that it will only be accessible from A1's view via the requestAction. Thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---