The website I'm testing PD4ML is an ASP.Net website that uses Java applet to take a screenshot of the current ASP.Net page. The website uses Form based Authentication.
Whenever I call PD4ML.render(URL, ByteArrayOutputStream) to print the current page it gets redirected to the login page and the login page gets printed.
I tried option 4 given in the link http://pd4ml.com/cookbook/pd4ml_session_id_and_authorization.htm
and it still goes to the login page.
I found a similar question in your forum http://pd4ml.com/support/html-pdf-faq-f1/pd4ml-net-form-authenticated-page-showing-login-page-in-pdf-t620.html
but no one has answered this question.
I've also tried the solution provided in http://stackoverflow.com/questions/201699/sharing-asp-net-session-cookies-with-a-java-applet
Could you please provide some tips on how to solve this issue?