I have a problem when I try to get the cookies from the response header in the Titanium.Network.HTTPClient.
I use the following code:
var xhr = Titanium.Network.createHTTPClient();
var cookies = xhr.getResponseHeader("Set-Cookie");
and what I get is:
ASP.NET_SessionId=ir66445hj76y9fu9bx; path=/; HttpOnly
The ASP.Net_Session is only a part of the "Cookie" header, and the rest is missing.
I haven't set the HttpOnly flag to the cookies.
What is wrong?
Thanks in advance,
m.