Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View PDF through ASP

Status
Not open for further replies.

jgaull1

Programmer
Jan 30, 2002
2
US
I'm very new to ASP but would like to create an ASP web page that takes a PDF file name (full location where file resides) as a parameter and displays the PDF on the screen. What software do I need on the web server? Does anyone have sample code for this? Will the user be able to save the PDF file off or download it? Thanks!
 
Nothing special needed on the server... clients will need the adobe acrobat reader plugin for their browser, which will usually run on an "install-on-demand" basis if they don't have it.

If you have the full path of the file:

then just surf on over... if you grab the value from a database, and want to redirect the user to it, then just issue a response.redirect:

<%
response.redirect(&quot;%>

good luck! :)
paul
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top