Try [ad_conn query] - as far as i remember that contains all that is right from the question sign.
If you know and want to manipulate the values, then passing them in via ad_page_contract and constructing the url to redirect to with [export_vars ...] is of course the way to go.