Forum Discussion
sims2009_290343
Nimbostratus
May 09, 2017setting cookie size
Hi, How can I set cookie size value in f5 for example ,if the size exceed more than 2Kb do not process it Thanks
- JG
Cumulonimbus
You can try this irule, which removes the cookie header if its total length exceeds 2K:
when HTTP_REQUEST { if { [HTTP::header exists Cookie] } { if { [string length [HTTP::header Cookie]] > 2048 } { HTTP::header remove Cookie } } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects