th.dude Posted October 17, 2009 Share Posted October 17, 2009 hey guys, any idea why this snippet returns the request page with cookies, showing logged in user even after sending empty cookie header? var request = false; request = new XMLHttpRequest(); request.open("GET","index.html",1); request.setRequestHeader("Cookie",""); request.onreadystatechange = function() { if(request.readyState == 4) { re = request.responseText; alert(re); } } request.send(null); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.