I have created a simple ASP.Net page to create self printable tickets so non-technical people can change the text and layout of a ticket. Obviously the user has to be logged in to be able to print their tickets.
When providing the URL for wkhtmltopdf to convert, the tickets are not created because wkhtmltopdf does not have a session to prove the user is logged in.
Is it possible to pass the session to wkhtmltopdf in the URL, or is their a better solution?
Yes, you can pass on sessions via URL, however, that’s kind of unnecessary.
Usually, you do something like:
Would contain:
And
ticket.php:Note: I know you asked about this in ASP, but I don’t know much about it. However, the above info should be true to any web-based software, be it ASP, PHP, Ruby or Python.