|
|||
|
it sounds like your ajax script is running outside the scope of ZF. if you dont want to run it through a controller then you will need to update your rewrite rules.
|
|
|||
|
Are you using the MVC?
I usually have the AJAX call be an action of the controller that is calling it. So, ajax.php?id=3&val=10 Seems wrong to me. The call would be something like: /controller/ajax/id/3/val/10 and then you would treat the page like a normal page in the web app only the call to it would be an ajax call. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|