A
Austin Phillips
Hello;
I am *very* new to website programming.
Coming from a client/server background, I am having some difficulties.
I know this is not asp.net related, but I figured someone would be able to
help me with this as I am tearing all of my hair out!
I am simply trying to load a PDF document into a web browser.
I am using the following code:
<% Response.AppendHeader("Content-Disposition",
"attachment;filename=C005FA05087FHQ.pdf")
Response.ContentType = "application/pdf"
Response.WriteFile("C:\Inetpub\wwwroot\eglobal\PDF\C005FA05087FHQ.pdf")
Response.End()%>
I can *somewhat* achieve what I want...but the above code does not open pdf
in the current webbrowswer....instead it opens the document in Adobe
reader....in a seperate window.
Can anyone help me? I would appreciate it.
I posted this in the general newsgroup, but noone answered.
Thanks,
Austin
I am *very* new to website programming.
Coming from a client/server background, I am having some difficulties.
I know this is not asp.net related, but I figured someone would be able to
help me with this as I am tearing all of my hair out!
I am simply trying to load a PDF document into a web browser.
I am using the following code:
<% Response.AppendHeader("Content-Disposition",
"attachment;filename=C005FA05087FHQ.pdf")
Response.ContentType = "application/pdf"
Response.WriteFile("C:\Inetpub\wwwroot\eglobal\PDF\C005FA05087FHQ.pdf")
Response.End()%>
I can *somewhat* achieve what I want...but the above code does not open pdf
in the current webbrowswer....instead it opens the document in Adobe
reader....in a seperate window.
Can anyone help me? I would appreciate it.
I posted this in the general newsgroup, but noone answered.
Thanks,
Austin