Hi, if my server updates the session content when the frontend receives this updated content?
Does the request that updates the session content return the updated cookie?
r
rp_st
07/01/2022, 5:30 PM
Hey!
rp_st
07/01/2022, 5:30 PM
If you update the session content of the session that you verified, then the frontend gets the update immediately
rp_st
07/01/2022, 5:31 PM
If you update the session content in offline mode (using a sessionHandle), the frontend gets the update when it does session refresh (by default every 1 hour)
rp_st
07/01/2022, 5:32 PM
If you want the frontend to always get the update as soon as possible, then you can enable access token blacklisting feature in the core. The downside to this is that every session verification will query the core
a
Alankazam
07/01/2022, 6:13 PM
Imagine a scenario where the frontend is consuming the backend SDK by API.
If the session content is changed in the request, is the token with the updated content returned in the Set-Cookie header?
r
rp_st
07/01/2022, 6:14 PM
Yes. And also via a custom header called “Front-Token”