On Tue, 24 Aug 2004 14:21:50 +0300, Lucian Sasu wrote: > Hi, > > I have the following problem. When I submit a request to a bea server to create a > pdf source, the request is sent 2 or event 3 times. The workaround suggested at > http://www.lowagie.com/iText/faq.html (using of an embed tag) did't work on some > windows xp machines (the bea server is behind a IPlanet server), i.e. the browser > shows an icon, very likely to the one used for a broken link to an image. What can > we do? the get method sends 2-3 times the request, the post is not working on ie5.5 > (the same icon as above appears)... > > Thanks in advance for your answers, > > Lucian.
I encountered this problem when using IE6 as a client and ASP.NET as the server (with the iTextSharp port). The problem ended up being nothing to do with PDF creation per se, but just the fact that I had forgotten to set a cache lifetime on my web page. In effect, IE6 requested the page, decided it was a PDF and that it had to invoke Acrobat, then noticed a cache lifetime of zero seconds -- "EXTREMELY VOLATILE CONTENT DO NOT CACHE" in effect, and requested the page again. Adding Response.Cache.SetMaxAge(New TimeSpan(0, 0, 10)) ' client is allowed to cache for ten seconds to my ASP.NET code solved the problem completely. Perhaps something analogous can be done with your problem. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
