[thelist] Inserting PDF from SQL Server into web page

Anthony Baratta Anthony@Baratta.com
Wed Jul 19 16:05:43 2000
"Miller, Bart" wrote:
> 
> I am using the following code attempting to read PDF data from SQL Server
> and write it out to a web page:

You need to send header information to the browser about the type of file you are
sending it, so it knows. Right now the browser is treating the PDF file like text, so
you need to change that to an application/pdf file type.

e.g. Content-type: application/pdf

-- 
Anthony Baratta