Forum Moderators: phranque

Message Too Old, No Replies

Response.Redirect opens blank PDFs in IE5

Opens the same PDF just fine in other browsers

         

craig_d

9:50 pm on Mar 10, 2005 (gmt 0)

10+ Year Member



Here's the code that opens pdfs just fine in everything but WIN IE5X.

This is a page containing a link:
<html>...
<a href="<%="login.asp?file=dsB10LCDPlus.pdf"%>">Burny 10LCD Plus</a>
...</html>

This is the login.asp file:
<html>...
<input class="field" type="text" name="txtEmail" size="30" value="<%=Request.Form("txtEmail")%>">
<input class="button" type="submit" name="pbSubmit" value="SUBMIT">
</html>...
function CheckDatabase()
...
strError = ("Found the email address. Now logged in and opening file.")
session("email") = (aEmailAddressEntered(0,0))
dim path, file, fullpath
path = "../burny/downloads/"
file = request.querystring("file")
fullpath = path & file
response.redirect(fullpath)
...
end function

The correct pdf opens (as seen in the URL), but it's blank.

The sad part is that I basically use this same code on another site and it functions just fine even in IE5....grrr!

Win2k server, IIS5

Please help!

coopster

11:08 pm on Mar 10, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, craig_d.

I have run into similar problems with MS IE. It seems as though MS has known about this little beauty for a couple of years now, and it still isn't resolved.

Google for "Internet Explorer cannot download" and you'll turn up quite a few documents. Google over the MS site and you'll get quite a few knowledge base articles that describe the known problem, possible workarounds, and unfortuneately no real solid solutions. Even in the latest updated/serviced-packed version of IE, the problem rears it's ugly head.