mercredi 30 avril 2014

Getting secured cookies from a child window with phonegap


Vote count:

0




I try to get secure cookies from a child window.


I do this :



var authWindow = window.open("https://"+externUrl, '_blank'/*, 'location=yes, toolbar=no, width=400, height=400'*/);

setInterval(function(){
console.log(authWindow.document.cookie);
}, 1000);


But it only print unsecured cookies.


enter image description here


While a cookie named JSESSIONID (the one I need) exists :


enter image description here


If someone knows how to get it. With pure javascript or with cordova plugin, I would be glad :) On cordova I use InAppBrowser



asked 38 secs ago

Anc Ainu

1,337





Aucun commentaire:

Enregistrer un commentaire