简体   繁体   中英

Persistent cookies are not shared between Internet Explorer and Office add-in

I have the office.js add-in . I need to show my custom HTML page in the iframe in the task pane. I login in my custom HTML page in IE 11, but the cookies is not traveling to the task pane in the add-in.

How can we share the cookies between IE and Office add-in?

You cannot. IE has a different cookie jar than the desktop add-in host.

However, if you need to prompt a login page, etc., you can use the Dialog API to prompt one in a cross-platform-compatible way.

Is there a particular scenario that is not addressed by the dialog API?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM