Invole a new IE Process from a Hosted Control - Need Help [URGENT]

Oct 25, 2013 at 11:45 AM
We have to integrate a web application. Web application is a plain vanilla J2EE stuff and not at all difficult to host and automate. But Web application uses its own session and issue is that :
  1. Open this web application in a normal Internet Explorer and search for a customer.
  2. Without closing the session now open another tab in Internet explorer and open this application again with other customer details. It will display first customer session in first tab and second customer details in second tab of same IE process.
  3. Go back to first tab and come back again to second tab It shows first customer details on second tab too. So the session has retained.Details of second tab got changed to first tab customer details. In short this application inbuilt logic does not support multi session.
  4. However if you open Two Internet Explorer and search one customer on one IE and another on another IE. It displays correctly.
So the issue is if we host this web application in a hosted control within CCA and make this application as a customer session specific and do a multisession. For both session it will show same customer session as the webbrowser will behave the same way IE did.

Unfortunately webbrowsers in CCA web adapters use same IE process.

How can we eliminate this in CCA ? Any reference would definitely help !!

many thanks in Advance !!
Oct 28, 2013 at 11:27 AM
Edited Oct 28, 2013 at 11:30 AM
Hi Avaneesh,


CCA maintains the session specific data for all the session so it should not be the same in hosted app, Have you unchecked the "Global" session on CRM server settings for that app?


Another option could be :

create your browser with "AxSHDocVw.AxWebBrowser" so you can be able to conbtrol Tabs/events and other things from your code. make this adapter using hosted control and make it session specific hosted app(dont click global app), it should work.

Regards,
NitiN
Oct 28, 2013 at 12:27 PM
Hope you have checked with "Use New Process" option of UII Hosted applications. Some time back, I remember this resolved some thing like the same situation that I faced.

Regards,
Srikanth