How to read cookies set by JavaScript in a Salesforce Apex Class
I recently had a requirement to have JavaScript create a cookie and then read it in later by an Apex class. You would think you could simply create a cookie in JavaScript and then read it in Apex using the exact same name as the cookie, but that’s not exactly the case. Cookies that need…