Forum Discussion
hooleylist
May 07, 2008Cirrostratus
Hi Fred,
You can replace '[findstr [HTTP::uri] "user-" 5 "&"]' with '[HTTP::header value X-Forwarded-Fo]'r. However, there might be multiple XFF header values in client requests. The HTTP::header command will return the last value. Proxies aren't required to insert an XFF header, so you wouldn't be guaranteed to get a valid value to persist off of. If the proxy in your scenario does insert an XFF header, the HTTP::header command should work for persisting off of the value.
Aaron