Reorder 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" } }
Published Mar 18, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
- Manjunath_MurugNimbostratusWhat is the Process of WLSID ?