I am using BindHTMLFromUrl with an aspx page to generate a pdf but the generated pdf is the login page for the application. I think that a new session is being started in the BindHTMLFromUrl, is there any way to have it use the same session?
i am using version 3.1.7.3.
Hi,
Thank you considering Aspose.
Please use a WebClient object to login to the website using UploadValues method. Then use the array of bytes retured to create a memory stream. Use the BindHTML method with memory stream to get the page.
Thanks.
Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html