[Zope] Html2pdf problems

Janko Hauser jh@comunit.de
Thu, 6 Mar 2003 13:33:32 +0100


On Thu, 06 Mar 2003 11:09:04 +0000
"Mehmet Yousouf" <mehmety@carramar.auslin.com.au> wrote:


> I have tried sorting after the dtml-in command but the same story,
> even doing a<dtml-var "SESSION[nameid']"> while zope renders it,
> will not get converted to pdf..... if I save the file and use
> hmtldoc -f nameid.pdf nameid.html --webpage, it works.
> 

The problem here is, that htmldoc makes its own request to the named
page. This request doesn't know anything about your session, as it can
not hanlde cookies or authentication.

The solution you tried will break, if someone else will print the
page.

HTH,
__Janko