I was recently challenged by a customer to allow cross website awareness of a Community user. In this specific case, I needed to create a cookie that contained a user’s first name, username (email) and a session length.
I spent a few days trawling the forums and blogs to find a neat and clean way of creating a cookie within a Lightning component or via the Community header without much luck. In the end, I needed to turn to Visualforce.
Continue reading “WRITING COOKIES IN A SALESFORCE LIGHTNING COMMUNITY (FOR DUMMIES)”