Ask a Question related to ASP, Design and Development.
-
Howard Rothenburg #1
How to run one ASP page from Another ASP Page
Here is an example of running a different ASP page from a current web
page, using Javascript.
function window_onunload() {
var objSrvHTTP;
var objDoc;
var URL = "http://" + window.location.host + "/ASPPageToCall.asp;
objSrvHTTP = new ActiveXObject("MSXML2.XMLHttp");
objDoc = new ActiveXObject("MSXML2.DOMDocument");
objSrvHTTP.open ("POST", URL, true);
objSrvHTTP.send ();
objDoc = objSrvHTTP.responseXML;
alert(objDoc.xml);
}
---
ASP page called (ASPPageToCall.asp)
<%
Dim strSomeData
strSomeData = "Hello World"
Response.ContentType = "text/xml"
response.write "<ReturnValue>" & strSomeData & "</ReturnValue>"
%>
Please feel free to suggest any improvements to the code.
>From: Justin (justin@jtp.dircon.co.uk)
>Subject: run one asp page from another
>Newsgroups: microsoft.public.inetserver.asp.general
>Date: 2001-08-15 06:15:32 PSTand>Does anyone know of a way to run an ASP page from another ASP page,>return output of the first page to a variableHoward Rothenburg Guest
-
Splitting or separating 1 multi page pdfdocument into individual page documents
I am looking for any product that will take a multi page pdf file and burst or separate it into individual pdf files created from each page. Mac... -
Trouble loading administrator/index.cfm page--i am askedto save the page
Please help....i've been stuck for days on this problem... Basically, I installed coldfusion and at the end of the installation, it told me that... -
Accessing Values of local variables in previous page when using custom error page
Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all... -
Prevent 'Page has expired' when a client hits back to return to a search page
I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I... -
Calling a html page from an asp page then returning to the next statement on the original asp page
Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are...



Reply With Quote

