Our great sponsors
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The problem I'm trying to solve is the following: I have an external application (gotenberg) that creates a PDF export of certain pages of my application. These pages require user input to display correctly. This user input is stored in the session.
You might also want to try https://github.com/KnpLabs/KnpSnappyBundle so you can just use the current session instead of reloading it like you are now.
Thanks for the suggestion! KnpSnappyBundle was my initial way to go as well, but my pages use quite some Javascript (chartJs) to render and I couldn’t get wkhtmltopdf to work with it. As it seems wkhtmltopdf does not support ES6 https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3596 so I was forced to find another way.