Hi everyone,
I have a simple login form where I call a php file for authentication using webhttprequest.
On desktop browsers it work just fine, but when I try to login using for example my iphone ou android device then it does not work. No error is returned , login is not working. I supect this is a permission header missing for mobile browsers but not sure what to do, I add this lines of code in the PHP file :
header("Access-Control-Allow-Origin: *");
header('Access-Control-Allow-Credentials: true');
header("Access-Control-Allow-Methods: GET, POST, OPTIONS");
header("Access-Control-Allow-Headers: *");
It work for desktop browsers but still not working in mobile browsers.
I'm stuck any idears.
Regards
José