Wrote an article
Wrote a Blog Post
Check this article on how to set a custom cookie in Pega applications.

https://blog.nidri.dev/how-to-set-custom-cookie-in-pega-prpc