This topic has 2 replies, 3 voices, and was last updated Sep 17, 201512:16:06 by Anonymous. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts oraj September 7, 2012 at 12:14 #26777 Hi, 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? PD4ML September 12, 2012 at 07:54 #29113 You need to determine how the ASP.Net application propagates session ID. It could be a session ID embedded to URL or (most probably) a cookie. Cookie can be added to HTTP request this way: pd4ml.setCookie( “JSESSIONID”, cookieValue ); where cookieValue is something like that: “9034657927465;path=/” JSESSIONID keyword is specific for Java, .Net uses anything else. Anonymous September 17, 2015 at 12:16 #29114 More about……Difference between Authentication and Authorization Chris Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.