IE mode - missing shared session or cookies between tabs (IE mode and Edge)

%3CLINGO-SUB%20id%3D%22lingo-sub-2704822%22%20slang%3D%22en-US%22%3EIE%20mode%20-%20missing%20shared%20session%20or%20cookies%20between%20tabs%20(IE%20mode%20and%20Edge)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704822%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EI%20have%20a%20two%20site%2C%20say%20site%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.site1.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.site1.com%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.site2.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.site2.com%3C%2FA%3E.%3C%2FP%3E%3CP%3Ethe%20way%20how%20it%20works%20is.%3C%2FP%3E%3CP%3EI%20login%20into%20first%20site%20using%20my%20login%20username%20and%20password.%20After%20successful%20login%2C%20the%20site%20will%20open%20a%20list%20of%20links.%20On%20one%20of%20the%20links%20is%20the%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.site2.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.site2.com%3C%2FA%3E%26nbsp%3B(legacy%20app).%20Clicking%20on%20this%20will%20open%20the%20second%20site%20in%20a%20new%20tab.%3C%2FP%3E%3CP%3EWith%20the%20IE%20browser%20coming%20to%20an%20End%20soon.%20we%20are%20forced%20to%20use%20Edge%20and%20IE%20mode.%3C%2FP%3E%3CP%3EI%20have%20set%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.site1.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.site1.com%3C%2FA%3E%26nbsp%3Bto%20open%20in%20Edge%20mode%20and%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.site2.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ewww.site2.com%3C%2FA%3E%26nbsp%3Bin%20Edge-IE%20mode.%20I%20have%20followed%20the%20instructions%20give%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fedge-ie-mode-sitelist%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fedge-ie-mode-sitelist%3C%2FA%3E%26nbsp%3Band%20tried%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fedge-ie-mode-add-guidance-cookieshare%23how-cookie-sharing-works%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fedge-ie-mode-add-guidance-cookieshare%23how-cookie-sharing-works%3C%2FA%3E%3C%2FP%3E%3CP%3EIt%20seems%20there%20is%20session%20is%20not%20shared%20between%20two%20mode.%3C%2FP%3E%3CP%3Ebelow%20is%20my%20xml%20settings.%3C%2FP%3E%3CP%3Enot%20sure%20if%20there%20is%20something%20I%20am%20missing%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSITE-LIST%3E%3CBR%20%2F%3E%3CSHARED-COOKIE%3Esite1.com%22%E2%80%AFname%3D%22cookie1%22%26gt%3B%3C%2FSHARED-COOKIE%3E%3CBR%20%2F%3E%3CSHARED-COOKIE%3Esite1.com%22%E2%80%AFname%3D%22cookie2%22%26gt%3B%3C%2FSHARED-COOKIE%3E%3CBR%20%2F%3E%3CSITE%20url%3D%22%26quot%3B%26lt%3BA%22%20href%3D%22http%3A%2F%2Fsite1.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Esite1.com%22%26gt%3B%3CBR%20%2F%3E%3COPEN-IN%3ENone%3C%2FOPEN-IN%3E%3CBR%20%2F%3E%3C%2FSITE%3E%3CBR%20%2F%3E%3CSITE%20url%3D%22%26quot%3B%26lt%3BA%22%20href%3D%22http%3A%2F%2Fsite2.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Esite2.com%22%26gt%3B%3CBR%20%2F%3E%3COPEN-IN%3EIE11%3C%2FOPEN-IN%3E%3CBR%20%2F%3E%3C%2FSITE%3E%3CBR%20%2F%3E%3C%2FSITE-LIST%3E%3CBR%20%2F%3EI%20also%20found%20out%20that%20it%20works%20when%20site1%20and%20site2%20are%20using%20both%20Edge%20mode%20or%20both%20as%20IE%20mode%20or%20both%20as%20IE11.%20But%20does%20not%20work%20using%20Edge%20mode%20and%20then%20IE%20mode.%3C%2FP%3E%3CP%20class%3D%22%22%3EI%20believe%20I%20missed%20something.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2708512%22%20slang%3D%22en-US%22%3ERe%3A%20IE%20mode%20-%20missing%20shared%20session%20or%20cookies%20between%20tabs%20(IE%20mode%20and%20Edge)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2708512%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1142834%22%20target%3D%22_blank%22%3E%40PZac2440%3C%2FA%3E%26nbsp%3BHello!%26nbsp%3B%20Thanks%20for%20reaching%20out!%26nbsp%3B%20I'm%20not%20an%20expert%20at%20this%20but%20have%20you%20tried%20making%20modifications%20to%20the%20%22%3CSPAN%3Eshared-cookie%E2%80%AFhost%22%20portion%3F%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBased%20upon%20the%20documentation%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fedge-ie-mode-add-guidance-cookieshare%23how-cookie-sharing-works%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECookie%20sharing%20from%20Microsoft%20Edge%20to%20Internet%20Explorer%20%7C%20Microsoft%20Docs%3C%2FA%3E%26nbsp%3Bit%20says%20%22%3CSTRONG%3EThe%26nbsp%3B%3CEM%3Ehost%3C%2FEM%3E%26nbsp%3Battribute%20is%20used%20for%20host-only%20cookies%20(and%20a%20leading%20dot%20is%20an%20error).%3C%2FSTRONG%3E%26nbsp%3B%22%20and%20I%20see%26nbsp%3B%22.%3CA%20href%3D%22http%3A%2F%2Fsite1.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Esite1.com%3C%2FA%3E%22%20in%20your%20example.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlso%2C%20I'm%20not%20sure%20if%20it%20makes%20a%20difference%20but%20is%20there%20a%20reason%20the%20%22shared-cookie%E2%80%AFhost%22%20and%20%22shared-cookie%E2%80%AFdomain%22%20portion%20of%20your%20example%20has%20the%20same%20site%20%22.%3CA%20href%3D%22http%3A%2F%2Fsite1.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Esite1.com%3C%2FA%3E%22%3F%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20are%20working%20on%20deploying%20MS%20Edge%2C%20have%20you%20heard%20of%20our%20FastTrack%20team%20(%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Ffasttrack%2Fmicrosoft-365%2Fmicrosoft-edge%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Ffasttrack%2Fmicrosoft-365%2Fmicrosoft-edge%3C%2FA%3E)%3F%20They%20can%20help%20with%20configuring%20MS%20Edge%20for%20your%20organization%20and%20provide%20guidance%20with%20IE%20mode.%26nbsp%3B%20Thanks!%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E-Kelly%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have a two site, say site www.site1.com and www.site2.com.

the way how it works is.

I login into first site using my login username and password. After successful login, the site will open a list of links. On one of the links is the www.site2.com (legacy app). Clicking on this will open the second site in a new tab.

With the IE browser coming to an End soon. we are forced to use Edge and IE mode.

I have set www.site1.com to open in Edge mode and www.site2.com in Edge-IE mode. I have followed the instructions give in https://docs.microsoft.com/en-us/deployedge/edge-ie-mode-sitelist and tried https://docs.microsoft.com/en-us/deployedge/edge-ie-mode-add-guidance-cookieshare#how-cookie-sharing...

It seems there is session is not shared between two mode.

below is my xml settings.

not sure if there is something I am missing here.

 

<site-list version="1">
<shared-cookie domain=".site1.com" name="cookie1"></shared-cookie>
<shared-cookie host=".site1.com" name="cookie2"></shared-cookie>
<site url="site1.com">
<open-in>None</open-in>
</site>
<site url="site2.com">
<open-in>IE11</open-in>
</site>
</site-list>
I also found out that it works when site1 and site2 are using both Edge mode or both as IE mode or both as IE11. But does not work using Edge mode and then IE mode.

I believe I missed something.

1 Reply

@PZac2440 Hello!  Thanks for reaching out!  I'm not an expert at this but have you tried making modifications to the "shared-cookie host" portion?  

 

Based upon the documentation: Cookie sharing from Microsoft Edge to Internet Explorer | Microsoft Docs it says "The host attribute is used for host-only cookies (and a leading dot is an error). " and I see ".site1.com" in your example.  

 

Also, I'm not sure if it makes a difference but is there a reason the "shared-cookie host" and "shared-cookie domain" portion of your example has the same site ".site1.com"?  

 

If you are working on deploying MS Edge, have you heard of our FastTrack team (https://www.microsoft.com/en-us/fasttrack/microsoft-365/microsoft-edge)? They can help with configuring MS Edge for your organization and provide guidance with IE mode.  Thanks! 

 

-Kelly