469,902 Members | 1,896 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

ASP Page Reloading

Hi,
We have a asp and the source is,
<%
Response.Expires = 0
appnum = Request.QueryString("appnum")
pdfpath = Application("pdfpath")
set objXML = server.createobject("TASJobReport1.JobReport")
x = objXML.PopulatePDF(appnum)
set objXML = nothing

if (ReadFromDisk = "Y") then
filename = pdfpath & "/JAR" & appNum & ".pdf"
Response.Redirect(filename)
else
Response.ContentType = "application/pdf"
Response.BinaryWrite x
end if
%>
Basically what we are doing is, we are creating a COM+ object (
TASJobReport1) and get the method of it to get the details and
populate it in a acrobat.
But this asp page is getting reloaded for two times, Don't know why /
but it's getting the values to the end user properly. But because it's
reloading two times, we have a bottle neck for performance.
Anyone help us...
Jul 19 '05 #1
0 1422

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Charlie | last post: by
2 posts views Thread by pTsy | last post: by
1 post views Thread by Dave Moore | last post: by
4 posts views Thread by BigZero | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.