|
Rank: Newbie Groups: Member
Joined: 9/26/2012 Posts: 3
|
We are using EOPdf.dll to generate PDF in our project. However we are facing strange issue, when we call HtmlToPdf.ConvertHtml method, user logs out automatically. So user logs in to the system and rest of the activities work fine. However, if user clicks on generate PDF, which opens in popup and internally call this HtmlToPdf.ConvertHtml method along with other code, if user clicks on anything after this, user logs out of application.
If we comment this method, then it works fine.
Any suggestions on this please?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Try to call ConvertHtml from a different thread and see if you have the same problem?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 9/26/2012 Posts: 3
|
Hi,
This also doesn't help.
Are we the only one facing this issue?
Thanks,
|
|
Rank: Newbie Groups: Member
Joined: 9/26/2012 Posts: 3
|
Hi,
Does this HtmlToPdf.ConvertHtml method do anything with context?
Thanks, Ashish
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We do collect your current calling thread's user context in order to support Window authentication. However that should not have any impact on your current login session. You might want to try to duplicate the problem in a separate application to see if you can find what triggered this problem. It is possible that you have some special logic in your application that triggers this behavior. For example, if the HTML code you pass to us contain JavaScript code that explicitly log the current user out (for example, by accessing a Url such as Logout.aspx?userid=1234), then when you call ConvertHtml, that code will run and log you out. However that has nothing to do with us. We have not had any other report about calling ConvertHtml causing user to log out.
Thanks!
|
|