Forum Discussion
hooleylist
Nov 03, 2010Cirrostratus
If the query parameters are in the same order and consecutively listed, I think this will work:
scan [string range [HTTP::query] [string first "s_sample=" [HTTP::query]] end] {s_sample=%[^&]&t_sample=%[^&]&u_sample=%[^&]}
A more robust option would be to parse each parameter name and value using URI::query. But that seems like a lot of overhead if you're checking every request that has a query string. If you're only interested in requests to a specific URI, you could check for that first before using the scan command.
Aaron