Forum Discussion
CodeCentral_194
Cirrus
Mar 18, 2015Reorder Http Cookies
Problem this snippet solves:
If for some reason you want to make sure all your cookies are neat and tidy, this iRule will reorder them for you so your backend server doesn't have to take on that burden.
Code :
when HTTP_REQUEST { if { [HTTP::cookie exists "cookie-name"] } { set cookie_s [HTTP::cookie "cookie-name"] HTTP::cookie remove "cookie-name" set cookie_a [HTTP::header cookie] HTTP::header replace "cookie" "$cookie_a; WLSID=$cookie_s" } }
CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
1 Comment
- Manjunath_Murug
Nimbostratus
What is the Process of WLSID ?
Recent Content
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