04-26-2011 05:33 PM
Cross domain security. Basically one domain can't access another.
So your PB or localhost can't access your website because it's not your PB or localhost.
In your Server-side code you have to add
This is in PHP.
04-27-2011 09:50 AM
Now it works in firefox so that was half the battle. But still nothing happens in the simulator. Can the simulator connect to the web?
I have set my Permissions in the config file by adding my domains and cashe features to local the domains. Yet nothing still happens.
Do I have to test this on a real phone for it to work?
04-27-2011 10:01 AM
On a phone/PB you're technically running localhost with Webworks. So unfortunately you need to give * access.
Also, I know PB has web access, not sure about phone simulators.
04-27-2011 10:31 AM
No, I mean the header.
config.xml access I believe is only required when you have BB API code in your AJAX.
Not sure what the problem is now honestly.