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

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -