I call requestAction('another_controller/myAction') at different places from a controller. What myAction() does is run a SQL query to get some data from DB. I notice that the SQL query in myAction() gets executed only the first time the requestAction('another_controller/myAction') is called. For any subsequent calls, the SQL query does not get executed, and same query result from the first call to requestAction() is returned.
Why is that? (I know that myAction()'d better be placed in model. However I am trying to find out why the problem happened to requestAction as I described.) Thanks for any insight. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---