jquery - Cookie not being attached in Ajax request under the same domain? -


i have asp.net web form page. android , phone application loading url in web-view , attaching cookie it. making ajax request part of page same domain. in ios case cookie being attached in ajax request, while in android case cookie not. here js code sending request.

function sendrequest(url, data, callback) {         $.ajax({             type: "post",             data: data,             url: url,             xhrfields: {                 withcredentials: true              }         })         .done(function (response) {             //         });     }; 

is there need add attach cookie explicitly in android case or should attached itself.

any appreciated ?


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -