I use the following method to send a jQuery Ajax request to a .net powered web service. My cookies are sent without any problems. But when I try to force an update (Ctrl + F5), the cookies are omitted and the request type also displays as OPTIONnotGET
$.ajax({
type: "GET",
url: url,
data: param,
contentType:"application/json; charset=utf-8",
dataType: "json",
success: successFunc,
error: errorFunc,
beforeSend:function(){$.mobile.loading('show');},
complete:function(){$.mobile.loading('hide');}
});
My request is in the same domain, so I hope that the same domain origin policy will not be a problem here.
source
share