question

SamTeddy-9347 avatar image
1 Vote"
SamTeddy-9347 asked JonatasLousa-8308 published

Microsoft Edge IE Mode

Hi,

Our web application working fine so far in IE11 and we recently started using Microsoft Edge. We started using IE mode in edge for for application but running into issues with loosing session values when we navigate between windows using window.open java script function. I tried all settings in cookies and session are but none of them working. How to retain session values in IE mode when launch new windows from modal windows ?

Thanks

ms-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XuDongPeng-MSFT avatar image
0 Votes"
XuDongPeng-MSFT answered JonatasLousa-8308 published

Hi @SamTeddy-9347 ,

According to your description, I want to know if the new page opened by window.open() is also in Edge IE mode? This may be the cause of the problem, because Edge IE mode pages are actually running IE tabs, and if the new page running in Edge instead of IE mode, by default Microsoft Edge and Internet Explorer processes do not share session cookies. Simple refer to this doc: Cookie sharing from Microsoft Edge to Internet Explorer.

In this case, you can try adding the new page to the IE mode sitelist as well, which should solve your problem.

Best regards,
Xudong Peng


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you. We open new pages in IE mode only with window.open() we never use Edge once we open pages in IE mode. I understand we cannot share cookies between IE mode and Edge.

Thank you

0 Votes 0 ·

Hi @SamTeddy-9347 ,

How did you open the modal window? I opened it via window.open() and found that it works correctly. I opened the modal popup(window 1) with IE mode from Edge page(Index) and set the cookie, then opened the new page(window 2) with IE mode and show cookie. Something like this result.

0 Votes 0 ·

Thank you Sir.

We are using Window.showModalDialog for launching modals. This is very old web application. Window.open works fine but issue with showModalDialog.

Thank you

0 Votes 0 ·
Show more comments