Hi Support,
I use Android to call Rest API using IsAuthenticated right after Login method, but still return false. Is there anyway to let it return true?
Login method is returning the correct user ID, but then I called IsAuthenticated method but it returns false.
HTML5 website is running all good in authentication.
Thanks.
Fred
I put the two HTTP request here and let's see which property is required, I have underlined the different part:
This is my request from Android:
GET http://192.168.1.169/SplendidCRM/Rest.svc/IsAuthenticated HTTP/1.1 Host: 192.168.1.169 Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: ASP.NET_SessionId=1ya5t245vm0wb13ktdjxht55 This is the request from HTML5 Website: POST http://192.168.1.169/SplendidCRM/Rest.svc/IsAuthenticated HTTP/1.1 Host: 192.168.1.169 Connection: keep-alive Content-Length: 0 Origin: http://192.168.1.169 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 content-type: application/json; charset=utf-8 Accept: */* Referer: http://192.168.1.169/SplendidCRM/html5/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: ASP.NET_SessionId=1ya5t245vm0wb13ktdjxht55
pls forget the HTTP request I pasted here. Sorry.