cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Warr <Chr...@esd.nec.com.au>
Subject Multiple GETs for a PDF
Date Tue, 30 Jul 2002 06:50:24 GMT

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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message