Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

patarakorn_1095's avatar
patarakorn_1095
Icon for Nimbostratus rankNimbostratus
Mar 22, 2007

With iRule V4.x, Can I add or modify cookie ?

I have BIG-IP Version 4.5.10.

 

Can I add or modify cookie in HTTP header ?

1 Reply

  • Martin_Machacek's avatar
    Martin_Machacek
    Historic F5 Account
    You can insert cookies to requests using the header insert attribute on a pool. Example:

    
    pool cookie_machine {
       header insert "Cookie: kind=blueberry"
       member 1.2.3.4:80
    }

    There is no way how to modify existing cookie. You cannot insert arbitrary Set-Cookie statements into responses, only loadbalancing cookies needed for cookie based persistence.