Developer forum

Forum » Development » PDFCache.aspx?

PDFCache.aspx?

Anders Ebdrup
Reply

Hi Dynamicweb,

 

I have found this page: /Admin/Public/PDFCache/PDFCache.aspx, but can't find any documentation about the file. What is the purpose and how is it supposed to be used?

 

Best regards, Anders


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

It is used internally by the PDF generation - DW generates the HTML in the context of the pageview instance that is being called with pdf=true and adds it to the cache. The PDF enginge then calls the PDFCache.aspx that returns that cache to generate the PDF document.

The reason this happens is that we want the context  of the user (cart, logged in information etvc) that would not be available if we generated the PDF directly using a http call (which is how it works)

Hope this makes sense...

Votes for this answer: 1

 

You must be logged in to post in the forum