Persist syntax

What is the difference?

persist uie [string tolower [HTTP::host]] 120

and

persist add uie [string tolower [HTTP::host]] 120

Also, I noticed in another post that the session table is broken in 9.1.1? Does this apply to persist command as well, since they use the same table? My goal is very simple, I have proxies that load balance requests to IWSS servers, and I’d like to persist all the requests for a particular internet destination (cisco, ebay, etc) to a single IWSS server. Here’s the rule:

when HTTP_REQUEST {
  if { [persist lookup uie [string tolower [HTTP::host]]] equals ""} {
    persist uie [HTTP::host] 120
  }
}

Suggestions? Thanks in advance.

persist uie [string tolower [HTTP::host]] 120

This command is intended to be used before the load-balancing decision. It means, lookup a persistence record matching this key and use it if found, otherwise add a persist record under that key after making the load-balancing decision.

persist add uie [string tolower [HTTP::host]] 120

This command is intended to be used only after the load-balancing decision and it merely adds (or updates) a persistence record to the currently connected pool member.

No, only the session command was broken in 9.1.1.

HTH!