Zen Follower
- Join Date:
- Mar 2004
- Location:
- Finland
- Posts:
- 435
- Plugin Contributions:
- 1
Post #1 by pasi
Just a little notice for anyone working with jQuery ajax in the admin side. (or probably any type of ajax for that matter that uses POST data instead of GET)
When using POST to transfer the query to your php script, you need to include the securityToken in the posted data, or else the response will contain the admin index page (with return code 302 for redirect).
This is of course only valid, if you include the "includes/application_top.php" in the php script.
Hope this helps someone else not to waste time on debugging :)
Working with Zen Cart since 2003 :: www.prr.fi
Author of the original Finnish language pack for Zen Cart since 2004