This content has been marked as final. Show 1 reply
though I can't help you with providing an example right now, I know that you need more headers for Ajax requests. It should (at least) be the following three:
1. Access-Control-Allow-Origin *
# which you've already got, though I won't use "*" for security reasons
2. Access-Control-Allow-Methods POST, GET, OPTIONS, STATUS
# perhaps additional methods are needed depending on your requests
3. Access-Control-Allow-Headers *
# where you might want to tweak the "*" as well and limit it to the ones you actually need.
There is a comprehensive article on that on [url https://developer.mozilla.org/en/http_access_control]Mozilla Developer Network.
I hope this helps you solve your problem.
Edited by: Udo on 31.05.2012 09:53