Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

How to set cookies to HTTP-Only?

SA-4314

Summary



How to set JESSIONID, LB, and Pega-Rules cookies to HTTPOnly and secure?

Resolution

  1. Apply HFix-9206.
  2. Add <env name="cookie/HttpOnly" value="true" /> to prconfig.xml file.
  3. Add the following line to prconfig.xml file (no hotfix needed) to set secure on cookies: <env value="true" name="HTTP/SetSecureCookie"/>
Note: The two options are available out of the box and no hotfix is required in Pega 7.1.

Published November 30, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us