List of questions
Related questions
Question 89 - Certified B2C Commerce Developer discussion
A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items. The current customer
Whether or not the customer is authenticated
The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
A.
Use a client-side cookie to store the information for the session duration
B.
Use the Session class, and its additional class references and attributes, in the B2C Commerce API
C.
Use a non-replicable Custom Object to store the information temporarily
D.
Use an SFRA controller. Because it runs server-side, the state is automatically maintained
Your answer:
0 comments
Sorted by
Leave a comment first