xmlhttprequest

I want to connect to my server from a mozilla application, so i defined a xmlHttpRequest object and

var req = XmlHttp.create();
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
req.open("POST",this.http_base,async);
req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
this.req.send("0;"+key+",");

if after i execute another send it doesn't do anything!!!I don't succeed in disconnection !!!
Any suggestions?
Stefania

Syndicate content