Ian_J_37801
Feb 25, 2008Nimbostratus
Cookie persistence
Hi,
I am using cookie persistence to load balance some web servers. So far so good!
What happens though is the BigIP adds the cookie to the end of the cookie list as shown below:
HTTP/1.1 200 OK
Date: Mon, 25 Feb 2008 12:31:16 GMT
Server: Apache
Set-Cookie: PHPSESSID=7f596726c038e1a8773e86af878e438c; path=/; domain=.xyz.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: familyFilter=5; path=/; domain=.xyz.com
Set-Cookie: User=%7B%22LEID%22%3A356%2C%22LangID%22%3A%22en%22%2C%22sessionSaver%22%3A%22%22%2C%22sessionsCounter%22%3A1%7D; expires=Sat, 23-Feb-2013 12:31:16 GMT; path=/; domain=.xyz.com
Set-Cookie: User=%7B%22LEID%22%3A356%2C%22LangID%22%3A%22en%22%2C%22sessionSaver%22%3A%22%22%2C%22sessionsCounter%22%3A1%2C%22rC%22%3A%7B%22today%22%3A1%7D%7D; expires=Sat, 23-Feb-2013 12:31:17 GMT; path=/; domain=.xyz.com
Set-Cookie: md=%7B%22LEID%22%3A356%2C%22langID%22%3A%22en%22%2C%22visitID%22%3A%222f516862574db006fc4acc32fa151d2d%22%2C%22pve%22%3A1%2C%22sessionsCounter%22%3A1%2C%22filters%22%3A5%2C%22countryCode%22%3A%22GB%22%2C%22headerLangID%22%3A%22en%22%2C%22userLocations%22%3A%5B242%5D%2C%22userLanguages%22%3A%5B9%5D%7D; expires=Sat, 23-Feb-2013 12:31:17 GMT; path=/; domain=.xyz.com
Vary: Accept-Encoding,User-Agent
Content-Type: text/html
Set-Cookie: BIGipServerDSA_WWW_3.32.1.2=27462211112.20480.0000; path=/
Content-Encoding: gzip
Transfer-Encoding: chunked
Unfortunately, my application needs to have this returned at the beginning of the "Set-Cookie" list as the application also queries the cookie. Is there anyway to add the LTM cookie in forst rather than last?
Many thanks
Ian