ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 89 - Certified B2C Commerce Developer discussion

Report
Export

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
Answers
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
Answers
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
Answers
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
Answers
D.
Use an SFRA controller. Because it runs server-side, the state is automatically maintained
Suggested answer: A
asked 23/09/2024
Enayat Meer
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first