+ Start a Discussion
vishal yadav 62vishal yadav 62 

create cookies in salesforce by remoteaction

Hi folks,

i want to create cookies in salesforce by @RemoteAction.

Nikhil Verma 6Nikhil Verma 6
Hi Vishal,
You can use the Cookie class in salesforce in order to create and store cookies using apex method. Go through this link for details and examples of how to do so: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_sites_cookie.htm