cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to resolve the component session in CCV2?

felipe_lima08
Explorer
0 Likes
567

Context:

In ccv2, with two front-end machines, when the user logs in, the component still has the anonymous session. The session needs to be updated or even force the component's renderer. This is because the content of the product carousel changes depending on whether the user is logged in or not.

Observations:

  • Cache flags are disabled.
  • It works perfectly in the local environment.
  • I've tried adding user information in the controller and before the handler.
  • I've disabled cookies.SameSite.enabled to false.
  • I've used this approach: hasAnyRole('ROLE_ANONYMOUS').

Accepted Solutions (0)

Answers (0)