lost session in jwebbrowser
Web Browser, Flash Player, HTML editor, Media player for Swing and SWT
Brought to you by:
chrriis
Hi chrriis,
I have a Swing application embed IE using dj library. It's load the web CRM into the Jwebbrowser everything is good in the first time but after that the web CRM lost session (or some thing similar) and user must login again. That issue repeat several times a day.
How can I detect the reason? Can you suggest some thing to solve it?
Thank you so much
I searched through SWT bugs, and this one seems similar:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292776
If that is the case, then the bug is in SWT and there is little I could do to help you...
The only thing I can think of would be to switch runtime (for XULRunner or Safari) to see if they work better though you may get other beahviors.
Hope this helps,
-Christopher
Hi Chrriis,
First, thank you so much for response my question.
This bug relate to SWT library. So, can I update the newest SWT to solve it? I'm using SWT version 4.3.
Can you tell me how to set the default IE version to embed in to component? I set the registry value solve it (HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION java.exe, javaw.exe)
Thank you so much.
Hi,
This bug is not marked as fixed by the SWT developers, so I think upgrading SWT would not help. You could vote for that bug to increase the chances of getting a fix. You could also submit a patch if you know how to fix the SWT code.
Have a look at my comment and the associated links:
https://sourceforge.net/p/djproject/discussion/671154/thread/4e842a0d/#be8f/5415
Does it help you in any way?
-Christopher