Forum Discussion
Michael_Yates
Dec 14, 2011Nimbostratus
Hi Sean M.
Sure, you can do that using URI::query and specifying the parameter.
Here is an example:
when HTTP_REQUEST {
if { [HTTP::uri] contains "nodeid" } {
HTTP::redirect "http://www.xyz.com/Pages/MigrationID.aspx?migrationID=[URI::query [HTTP::uri] nodeid]"
}
if { [HTTP::uri] contains "objid" } {
HTTP::redirect "http://www.xyz.com/Pages/MigrationID.aspx?migrationID=[URI::query [HTTP::uri] objid]"
}
}
Hope this helps.