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 add Secure and HttpOnly attributes in the cookie

SA-4982

Summary



How to add Secure and HttpOnly attributes in the cookie for PRPC 6.3 SP1?

Resolution

  1. To add the Secure attribute in the cookie, see Page 98 (SetSecureCookie) of the Configuration Settings Reference Guide, https://pdn.pega.com/documents/configuration-settings-reference-guide-prpc-5x-prpc-62​
    Specify the following setting in the prconfig.xml file:
    <env name="HTTP/SetSecureCookie" value="true" />
  2. To set cookies to HttpOnly, apply HFix-9206. Then specify the following setting in the prconfig.xml file:
    <env name="cookie/HttpOnly" value="true" />

Published October 25, 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