I want to open PDF documents from our website in a window without the file address showing to the user. We had this working on our site before but now moved to a new server and the code stopped working.
The ASP code we used before is below to give you an idea what we are looking for. I can't imagine that this is a big project but we need someone to fix it for us quickly.
Dim TypeBinary, oStream
[login to view URL] = "application/pdf"
[login to view URL]("Content-Disposition", "attachment; filename=" & File)
TypeBinary = 1 ' Indicates a binary file
' Create the object
Set oStream = [login to view URL]("[login to view URL]")
' Open our file
[login to view URL]
' Retreive binary data from the file
[login to view URL] = TypeBinary
[login to view URL] Path_To_File
' Return the binary data to the caller
[login to view URL] [login to view URL]
' Destroy the ADO object
Set oStream = Nothing