|
-
Jan 2nd, 2001, 02:42 PM
#1
Thread Starter
Junior Member
I am using ASP in a attempt to display a PDF file in the browser. My current code works.
window.navigate "C:\Test.pdf"
However I want to run this is the server script.
response.redirect "C:\Test.pdf"
This seems to fail.
Anyone have any ideas on how to display this file?
-
Jan 2nd, 2001, 02:45 PM
#2
Monday Morning Lunatic
Make sure that the PDF file is in a server directory - that is, one that the browser can access, then use:
Code:
Response.Redirect "http://www.server.com/test.pdf"
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|