faro-web-sdk icon indicating copy to clipboard operation
faro-web-sdk copied to clipboard

Session Manager: Support per instance scoped sessions for micro frontends

Open codecapitano opened this issue 1 year ago • 3 comments

Description

Faro stores some session information in the browsers web-storage. If multiple Faro instances are used within a micro frontend app they all use the same object from the web-storage.

This can lead to trouble if the Faro instances customize session information. For example custom sessionIds or specific session attributes.

Proposed solution

  • Provide option to define a namespace or to auto-namespace the session stored in web-storage

Context

codecapitano avatar Jan 03 '24 13:01 codecapitano

Please send me a relevant code example or documentation thanks

zhaomingcheng01 avatar Aug 05 '24 03:08 zhaomingcheng01

Hey @zhaomingcheng01 it's not implemented yet. But we plan to start working on it today.

codecapitano avatar Aug 05 '24 08:08 codecapitano

About which version of this will work

zhaomingcheng01 avatar Aug 15 '24 01:08 zhaomingcheng01