CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

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"
  }
}
Comments
Manjunath_Murug
Nimbostratus
Nimbostratus
What is the Process of WLSID ?
Version history
Last update:
‎18-Mar-2015 14:44
Updated by:
Contributors