Well, my first post. I hope it's not the last!
I've been searching over the net for the solution of this problem in some places they say it can be solve adding some lines in server ssl.conf. I tried and isn't working either.
I've read all the posts you have in here but I didn't really understand what the solution was. I assume that i have to close the connection but I don't know where to do it
I use this xmlhttprequest file:
----------------------------------
var request = null;
function createRequest() {
try {
request = new XMLHttpRequest();
} catch (trymicrosoft) {
try {
request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (othermicrosoft) {
try {
request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (failed) {
request = null;
}
}
}
if (request == null)
alert("Error creating request object!");
}
--------------------------------------
Should I close the request here or when I make the request like:
var url ="/blabla.php";
createRequest();
request.open("POST",url, true);
request.onreadystatechange = proceselect1;
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
request.send("random="+Math.random()+"&valor="+x);
request.setRequestHeader('Connection', 'close'); This is where goes my responseXML.
function proceselect1()
{
if (request.readyState == 3) {
}
if (request.readyState == 4)
{
if(request.status == 200)
{
alert("hi);
var resposta=request.responseXML;
}
else{
}
}
}
Well, my the alert("hi") is working but the responseXML is empty...
Sorry for my english, I'm not used to talk about technical things in english
