Hi,
In my application, I am accessing the shopper session id cookie which is part of the login API response header. This I am accessing from loginAPI-complete event by following code:
var cookies =jqXHR.getResponseHeader('Set-Cookie');
var ShopperSessionId = getCookie("SessionId");
localStorage.setItem("ShopperSessionId", ShopperSessionId);
function getCookie(cname) {
var name = cname + "=";
var ca = cookies.split(';');
for(var i=0; it know why this is behaving like this.
Please help me in fetching the cookies from API response on android phones.
Thanks,
Manjeet