I have created excel add-ins using office.js and react-fabric UI. I wants to use sessionStorage to keep logged in user information for session management. On office365 online version it is working as expected but when it comes with native desktop excel sessionStorage.getItem(key) returning null.
Basically the intention to use sessionStorage as we have requirement for multiple user can login in to application from different tabs on same browser and to manage session for multiple user trying to use sessionStorage. And if I use localStorage then same user info is getting available for all browser tabs and if we close the tab and open it again then also same user info is getting shown which is as per the browser storage API.
Please help is there any way to resolve this issue or any alternative for sessionStorage where I can keep user info to manager user session or how we can enable sessionStorage on desktop excel?