Add the SSL Secure Flag and HTTPonly Flag to Cookies from the Real Server
- Last Updated: August 5, 2025
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
To add flags to a cookie being generated by the Real Server, the content switching engine must be used.
Rule Name: SetSecure
Rule Type: Replace Header
Header Field: set-cookie
Match String: /(.*?);?$/
Replace String: \1; secure; httponly
Perform If Flag Set: [Unset]