Expand my Community achievements bar.

SOLVED

Shared Session beetween AEM and another application in React

Avatar

Level 3

Hi everyone,

Does anyone have a suggestion for how I can attend this requirement bellow?

I need to shared session between AEM and React application.

Thanks

Alisson Xavier

1 Accepted Solution

Avatar

Correct answer by
Employee

You can set the session using localStorage and thus, it can be accessed by any app within your browser, until you or the logout operation clears the session.

View solution in original post

2 Replies

Avatar

Employee

What kind of session do you mean? Is it an AEM user session? If so, this is going to depend on how your React app is integrated with AEM. Is it being served by AEM ? If so, it should be able to access the session easily since the browser holds the session.

Avatar

Correct answer by
Employee

You can set the session using localStorage and thus, it can be accessed by any app within your browser, until you or the logout operation clears the session.