I found a solution for this situation that uses iframes. It's not classic asp, but I don't see why it wouldn't work. Here's the article I found.
EDIT: added code.
Container page called by your application:
<head runat="server">
<script language="javascript" type="text/javascript">
function BuildPDF() {
var iframe = document.createElement("iframe");
iframe.src = "BuildPDF.asp?" + <whatever args you need>;
iframe.style.display = "none";
document.body.appendChild(iframe);
}
function UpdateProgress(message) {
document.getElementById('txtStatus').value = message;
}
function SetDisplayFileName(fileName) {
var viewFrame = document.createElement("iframe");
viewFrame.id = "viewFrame";
viewFrame.src = "WhateverTheNameOfYourPDFViewASPPageAndArgs";
viewFrame.style.width = '100%';
viewFrame.style.height = document.documentElement.clientHeight - 20;
document.body.appendChild(viewFrame);
}
function ResizeFrame() {
var viewFrame = document.getElementById("viewFrame");
viewFrame.style.height = document.documentElement.clientHeight - 20;
}
</script>
</head>
<body onload="BuildPDF();" onresize="ResizeFrame();">
<form id="form1" runat="server">
<input type="text" id="txtStatus" style="width:80%; font-family: Tahoma, Verdana; font-size: small; font-weight: bold;" readonly="readonly" />
<br />
</form>
</body>
Then, somewhere in your BuildPDF.asp, you have a function something like this that you can call anytime you want to update the status message:
function UpdateProgress(message)
Response.Write("<script>parent.UpdateProgress('" & message & "');</script>")
Response.Flush()
end function
The page you have referenced in the "viewFrame" is your page that streams the ContentType "application/pdf." Again, I did this in ASP.Net, but I see no reason why it wouldn't work in classic ASP.