wwUtils::SetUrlEncodedKey

Adds or updates a query string value for a given key with the provided value.

Useful if you need to inject additional keys into an existing query string or HTML form data.

o.SetUrlEncodedKey(lcQuery, lcKey, lcValue)

Return Value

Updated query string/post buffer

Parameters

lcQuery
The full query string or UrlEncoded form buffer

lcKey
The key to add or update

lcValue
The value to set the key to

Remarks

Does not support setting multi-key values. If an existing value is found it is updated. If you need multiple values set just append them to the end.


See also:

Class wwUtils

© West Wind Technologies, 2023 • Updated: 06/23/15
Comment or report problem with topic