You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Chris Warr <Ch...@esd.nec.com.au> on 2002/07/30 08:50:24 UTC

Multiple GETs for a PDF

Hi, 

Some browsers request a PDF with multiple GETs.  The following article
describes it http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792

I'm encountering this problem because I don't let a PDF be generated twice.
So, for the first GET cocoon generates the PDF and returns it, for the
second GET I return an error.  By this time acrobat has opened and gets what
it thinks is a PDF, but is actually the cocoon error page, so that ends in
tears.  The above article says that the second GET specifies 'userAgent =
contype' but I don't see this.  I was hoping I could pick something out of
the headers to not generate the PDF the first time, but I can't find
anything.

This is only for certain browsers.  I haven't been able to determine a
pattern.  Some installations of ie5.5 work, some with ie6 don't work.

Chris.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>