Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF embed in HTML page but not on another PC
Message
From
08/08/2013 17:02:50
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
08/08/2013 16:47:43
General information
Forum:
Internet
Category:
Firefox
Miscellaneous
Thread ID:
01580093
Message ID:
01580098
Views:
18
>From Firefox, on one PC, a PDF is shown correctly embed in the HTML page, as I have designed it. On another PC, when the user accesses that page, from the same browser, the PDF is sent as a download. Anyone would know what could be in effect here?

Do you have the content type set properly? If not, the browser has no way to handle it and forces it to download.

Example:
            HttpContext.Response.AddHeader("content-disposition", "filename=Certificate.pdf");
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform