Welcome Guest Search | Active Topics | Sign In | Register

User logs out when HtmlToPdf.ConvertHtml is called in code Options
Ashish
Posted: Wednesday, September 26, 2012 3:34:19 AM
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?
eo_support
Posted: Wednesday, September 26, 2012 9:39:06 AM
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!
Ashish
Posted: Wednesday, September 26, 2012 11:53:00 AM
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,
Ashish
Posted: Wednesday, September 26, 2012 1:39:44 PM
Rank: Newbie
Groups: Member

Joined: 9/26/2012
Posts: 3
Hi,

Does this HtmlToPdf.ConvertHtml method do anything with context?

Thanks,
Ashish
eo_support
Posted: Wednesday, September 26, 2012 2:21:25 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.