Incorrect PDF being displayed periodically in the browser

I want to start by thanking anyone who could shed light on this problem. 
We have a web application that dynamically generates PDF files per a user request in a web application.  98% of the time the proper PDF gets opened in the browser correctly, whether it be IE or Firefox.  The other 2% of the time, no matter what url data was requested from, an incorrect PDF is displayed.  This incorrect PDF that gets displayed is one that was requested and opened in a previous request and could still be open in a browser tab.  Once this state is reached all PDFs that are requested do not line up with the requested PDF, meaning they are all incorrect.  Once the browser is refreshed the problem stops happening for another stretch of time. 
I have read posts that discuss placing a random number in the url to "trick" the browser plugin from thinking it already has the PDF.  We have done that.  In fact this issue appears to not be impacted at all by the url.  For example, when this problem happens I can go to https://appname/one/pdf and get the PDF that was requested and sent back when I went to https://appname/two/pdf.  These are two clearly different urls even without the random number that we placed on the end as a parameter and I still receive the PDF from the second URL. 
We debugged the server side code and we are 100% sure that we are sending the correct PDF back to the client by streaming the PDF to a file on the server prior to sending it back to the client. 
One thing I have noticed is that currently we are not specifying the Content-Disposition header when we return the PDF to the browser.  This means that there is no filename being provided to the front end and the plugin.  Is it possible that the Adobe Reader plugin eventually gets confused as to what file to display if there is no specific file name provided for the PDF from the server, with the keyword there being eventually as it is an intermittent problem? 
We can easily set the Content-Disposition header to be attachment; filename="somename.pdf" but given the intermittent nature of this bug we would like to get some feedback as to if this fix is logical given this issue.  If it is not logical we would appreciate any other information that may help us troubleshoot this issue.  The alternative is to rewrite the document generation code to output HTML, and I really do not want to do that. 
We are using the Adobe Acrobat 9.4.5.236 add-on to Firefox 10.0.3, Adobe Reader 9.4.0, and Internet Explorer 8.0.6001.18702.  All of these versions are not able to be upgraded, meaning this is the baseline we have to support.  We also operate, still, on Window XP Professional Service Pack 3. 
One last comment, client side operations by the user are not valid solutions either.  I have already suggested asking the user to uncheck the open in browser option in Adobe Reader but our customer does not find that to be a valid solution.  To date we have not been able to recreate the issue when the PDF is opened in Adobe Reader proper and not the browser. 
Thanks again for any help and information. 

In case someone, other than me, stumbles across this post.  The solution I suggested in the opening post did not work.  When a user opens a PDF using the Reader Plug-in in Firefox they still have the potential to see the previous PDF.  The interesting thing is, as it appears right now, that this only occurs when a user closes a Firefox tab that contained the previous PDF and then triggers a different PDF to be opened in Firefox.  What seems to be happening is that the Reader Plug-in ignores the file it is supposed to open and recycles the PDF that was in that tab before it was closed.  Which is funny because the URL of that tab points to the new file that was downloaded into the temp directory but the contents of the tab is still the previous PDF.  Not sure if the plug-in just doesn't clean out the previous contents or what but it clearly is an issue that resides in the Adobe Reader Plug-in for Firefox. 
I am not sure what we are going to do at the moment but if we find a solution, other than don't open the PDF in Firefox, I will be sure to post it here.  However, for right now there is nothing coming to mind. 

Similar Messages

  • Title of a Crystal Report PDF being displayed in a web browser

    I have an application that previews a report in a web browser by saving the report to the web server and then opening a new tab/window pointing at the pdf that was just created. Right now it is displaying the server name(and path to the report on the server I believe) in the title bar instead of the report title. Is it possibel to set the report title somewhere in the code so the user sees whatever I want to show them instead of anythign to do with the server?
    Thanks,
    - Mike

    Hi  Mike,
    This will get the name of the report and all of it's parts and add the .pdf to the file name:
    string MyRptName = rpt.FileName.ToString();
    MyRptName = MyRptName.Substring(MyRptName.LastIndexOf(@"\") + 1, (rpt.FileName.Length - 3) - (MyRptName.LastIndexOf(@"\") + 1)) + "pdf";
    Don

  • Download blob as pdf. Display inline in new browser window

    I am using the standard functionality of loading blob data, using a browse/upload item, and retrieving blob data using a report on a blob column. One of the settings when setting up upload and retrieval column attributes is called "CONTENT DISPOSITION". If I set it to "INLINE" the file downloads when clicking the "DOWNLOAD" link and displays in the appropriate viewer, e.g. for PDFs it's the browser window. How do I get the PDF file to display in a NEW browser window so the user does not have to leave apex?
    Paul P

    Alternatively, do pdf's already render in the browser window?
    http://www.mydigitallife.info/2007/06/17/disable-pdf-from-opening-in-web-browser-ie-firefox-opera-safari/
    Trent

  • PDFs do not open in the browser since IE11

    Hi,
    since the IE11 is installed the PDFs do not open in the browser with Adobe Reader, but directly in Adobe Reader.
    The PDFs can be filled but not saved online because they are not open in IE.
    If I disable the PlugIn in IE11 and activate again it works again indefinitely.
    Can you help me?
    PS: translated with Google Translate
    Thanks

    StolzeR wrote:
    If I disable the PlugIn in IE11 and activate again it works again indefinitely.
    This, to me, sounds like it's working.  Or perhaps a problem with the translation?

  • ESS - Family Members - Incorrect gender being displayed for Children

    Hello,
    On the "Family Members/Emergency Contact" page in ESS the Gender of the children is not being displayed properly.  The first child displays with the proper gender but after that each subsequent child is being displayed with the same gender as the firts child.
    For example, if the first child displayed is Male then all others will then be displayed as Male regardless of whether they are Male or Femail.
    Any help is appreciated and thanks in advance.
    Daniel A

    Daniel,
    I guess it has to do with the HR configuration. How do the genders appear there?
    Regards,
    Sandeep Tudumu

  • My 8530 does not display images in the browser

    My bb 8530 a few weeks ago suddenly stopped displaying images in the browser. Browser options are set to "display images". I've power cycled many times, even reset and wiped, but still no images in browser. How can I fix this? Thanks.

    hi i have noticed the same problem. also with Chrome and FP ver 11.5.31.2and Firefox and Safari with FP 11.5.502.110
    it seems that MovieClipLoader class not returning onLoadInit event. I use to add a fadein function on loadInit to fade in the loaded images. with the latest Flash PLayer versions this is not activated so you cannot see the loaded images.
    I have tested this on 3 different systems and the problem is the same. I have not updated my FP for IE. There, the older FP still works well.
    test systems
    Mac OS LionSafari and FP 11.5.502.110 --- DOES NOT WORK WELL
    Windows 7 64 bit
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL
    Firefox 16.02 with FP 11.5.502.110  - DOES NOT WORK WELL
    IE 9 with FP version 11.4.402.287  - WORKS
    Windows XP SP3
    Firefox 16.02 with FP 11.5.502.110 - DOES NOT WORK WELL
    IE 8 wth FP 11.4.402.287  - WORKS
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL

  • Since upgrading to Firefox 4 I cannot get PDF files to open in the browser using Acrobat 9.0

    I have my Application options set to "Use Adobe Acrobat 9.0 (default)," yet clicking on a pdf link causes the file to be downloaded and opened outside of the browser.
    I've checked for missing plug-ins, but that only leads me to a download page for Adobe Reader 10, which should not be necessary since I already have the full version of Acrobat.

    In my case it's with .puz files, which are crossword puzzle files used by sites like the New York Times and read by the application AcrossLite. I went into preferences and tried to change the action for the file type from "Save File" to AcrossLite but it would not take. Set it instead to "Always Ask" and then in the dialogue box selected AcrossLite and "always do this" and it gave an unknown error.
    This is FF 4 on a Mac.

  • Incorrect Website being displayed when CLICKING from Search engine

    When CLICKING on a Website address from using a search engine, or entering it directly, the WRONG address is displayed.
    It DOES have the correct address, but the DISPLAY is not the one I am looking for. Same if using the IE rendering Facility, same results if using AdBlock OFF.
    Only if using IE Directly as the Browser, is the CORRECT Website displayed.
    A friend of mine has NO problems in doing the same,
    for the same Website address, with FF.
    As far as I know, other Websites are not affected !
    (Well, none that I have used so far )

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • With browser integration is a pdf downloaded by Acrobat or the browser?

    Hi all,
    A colleague and I are having a disagreement in regards to how a pdf file is downloaded. We have been experiencing intermittent networking issues and we both recognize that this is a problem. When attempting to download a pdf from the internet intermitently we receive the "A network error has occured..." message.
    My colleague has installed Acrobat X (from 9.4) and has noticed that this has improved his ability to download pdf documents. He is speculating that the add-on acts as a download manager and has better timeout settings and thus installing a newer version is the fix.
    My belief is that the browser does the download and allows the add-on to then open the file as it is downloaded. I believe that the fact that it has worked better for him is only a coincidence. I do believe that upgrading is a great idea but I do not believe that is assertion is correct and that no matter which version is present the issue is purely network related. I would accept that a possible browser change/tweak could improve the performance.
    Because the issue is intermittent I believe that my colleague has just got it working by coicidence. I did install Acrobat X and still had the issue 1 of the 4 times I attmepted a download. As my colleague did not have it in 4 sperate attempts he was sure it had worked. I am aware that there are a lot of other factors that can come in to play browser version, other installed add-ons etc, but my question in it's purest form is does Adobe acrobat manage the download of the pdf file when the it is integrated with the browser?
    Please assist in putting our argument aside in time for Friday drinks

    Hi Pat,
    Thanks for your reply.
    Purely downloading, e.g. right-click on an online link, then select Save Target As, will not invoke any Adobe software.  That is handled by the browser only, as with any other file type.
    Very aware of the above. This was not what my question was in relation to.
    What OS / browser is involved here?
    I dont believe OS is related to my question at all. In terms of browser we have used multiple browsers (IE 7, IE 8, Firefox 7, Firefox 14) but this also I believe has minimumal bearing to my question as it purely relates to the Adobe Acrobat Add-on and the programming behind the scenes. Whether it handles the download when integrate or not.
    Thanks.

  • [SOLVED]change the font that displays pages in the browser Uzbl

    hi all
    there is some form in the browser Uzbl change the type of font displayed on web pages?
    thanks
    Last edited by jccl1706 (2010-03-16 01:32:53)

    You would need to apply a style sheet that loads for all pages that you visit (fonts that you view on the web are determined by a) the designers who specify either specific fonts, or families (like serif) and b) the fonts that you have installed on your system).
    Last edited by jasonwryan (2010-03-15 22:41:21)

  • Change the font that displays pages in the browser Uzbl

    hi all
    there is some form in the browser Uzbl change the type of font displayed on web pages?
    thanks

    Please don't cross post: http://bbs.archlinux.org/viewtopic.php?id=93212

  • Displaying ppt in the browser window.

    Hi,
    I have a ppt stored in the database as BLOB.I've fetched it in the jsp and am directly writing it to web using OutputStream's write() method, but I want to show it in the browser window itself instead of opening the ppt seperately.Can anyone tell how this can be done?

    Hi,
    I have a ppt stored in the database as BLOB.I'veJSPs are not supposed to access a database.
    fetched it in the jsp and am directly writing it to
    web using OutputStream's write() method,This is a job a servlet can do a little better.
    but I want
    to show it in the browser window itself instead of
    opening the ppt seperately.Can anyone tell how this
    can be done?Just have the servlet return the powerpoint as a binary stream, with the appropriate MIME type set.

  • Incorrect menu being displayed after several forms are called and closed

    Have been searching and agonizing for a few hours and still can't find the reason for this.
    Forms v9i web version
    The starting form (main_form) has a custom menu (cus_menu) and this is displayed when the user begins the application. Form B can be called in two different ways:
    1) Directly from the main_form menu, here is the code: call_form('FORM_B',HIDE,DO_REPLACE);2) Via a button from another form, Form C which is called from the menu in the same way as Form B was. Code for the button is same as above.
    The menu attached to Form B is another custom menu (b_cus_menu).
    The problem occurs when Form B is called via the second method.
    Here are the steps,
    1) From main_form, Form C is called from the menu (cus_menu)
    2) Button is pressed that calls Form B (call_form('FORM_B',HIDE,DO_REPLACE);).
    3) Menu correctly changes to b_cus_menu
    4) Form B is closed and now Form C is visible. Menu correctly reverts to the menu set for form C.
    5) Form C is closed and main_form is now visible. Menu incorrectly reverts to the menu used in form B (b_cus_menu) instead of cus_menu.

    Problem seems to only occur when Form B has the same window name as the main form. Strange...
    Message was edited by:
    SamB

  • Getting an error message when opening a PDF being displayed in FF 24 in Adobe Acrobat XI

    I have the very latest versions of FF and Adobe Acrobat Pro XI and FF Adobe Acorbat Plugin. When I open a PDF (regardless of size) and view it in FF then click the download button then select the option to open in Adobe Acrobat I get the error stating "There was an error opening this document. The file is damaged and could not be repaired. " If I download the file locally THEN open it usually works fine. This happens to me on both Mac and PC. Any suggestions? Thanks in advance

    Have you reinstalled that plugin (Acrobat), or tried to use Firefox's bulit in PDF reader (PDF.js).
    * [[View PDF files in Firefox without downloading them]]

  • After I restore bookmarks from a json file and they display correctly in the browser, why the next time I start Firefox4, do the old bookmarks display?

    Three times I have restored from a bookmarks json file and each time the bookmark folders display showing the new bookmarks but each time after I exit and restart FF4, the original bookmarks that were replaced by bookmarks from my json file reappear. The restore process seems to work exactly as it should but new bookmarks are apparently not saved since the old ones display each time I restart FF4.
    I am using WinXP on an older Dell laptop with 2Gb memory and current FF4 as of April 23, 2011.
    I don't know what to do to make the new bookmarks become permanent. Help?

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

Maybe you are looking for

  • Macbook Pro Mid 2012 15" Retina - Display blackout on restart.

    I am having a major issue with my 15" Retina MacBook Pro (mid 2012). When I shutdown the Macbook, and boot it again later, it is not showing anything on screen.. Even the grey screen on bootup.. Completely black.. I can hear the startup chime, and a

  • Change data ITEM in MIGO

    Hi guys, i have to change a quantity in a item when I post the reserve in MIGO. For example, I have a reserve for 100 UNI of the material A, Nro.Reserv: 90000 Then, I go to a transaction MIGO and I select "Good Issue" and the system, by default, set

  • Purchase Analysis Question

    Hello experts i am not sure about something if happened before and i would like you knowledge about it. do you know if it is possible in Purchase Analysis, under Items tab to display Items that are in not buy mode(Purchase Item=No)? i am sure that it

  • How to create Characteristic group in CO-PA for assessment purpose

    Hi, Can anybody guide me as how to create Characteristic group in CO-PA for assessment of cost center balance to CO-PA? Thanks, Bijay

  • I want product costing  related full documents

    Hi i want product costing related full docments. Thank you Anil