Classic ASP ProfessionalFor advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am calling a .net window service from classing asp page called manual.asp and manual.asp page being called by Home.asp
When widows service started I can not do any thing in Home.asp.
I am trying to call manual.asp page Asynchronous
I am using below code
I am calling manual(empid) in Home.asp
function manual(empid)
{
if (retVal == 1)
{
poster = new ActiveXObject("MSXML2.XMLHTTP");
poster.open("POST", "manual.asp", true);
var xdoc = new ActiveXObject("msxml2.domdocument");
xdoc.async = true;
var str;
str = "<upload><empid>" + empid + "</empid></upload>";
xdoc.loadXML(str);
poster.onreadystatechange = xmlhttpChange;
poster.send(xdoc);
}
}
I want manual.asp processing should be done on background and I can do some other work in Home.asp.
Please let me know the solution
Thanks in Advance
This JS Code I am calling "function manual(empid)" from Home.asp.
and This function again call to manual.asp , and manual.asp invoke the windows service.
Here i am just sending the empid, which is input of windows services