Working With Cookies in Suitelets

Getting Cookies When using a Suitelet, we have access to all of a request’s headers, and can get to them via context.request.headers. Here’s a sample of what the headers look like: { “X-Akamai-SR-Hop”: “1”, “true-client-ip”: “83.74.96.100”, “User-Agent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15”, “x-forwarded-port”: “443”, “x-advpf-parse-category”: “DEFAULT_ALLHTML”, “Accept-Encoding”:… Continue reading Working With Cookies in Suitelets