Forum Discussion
Silvia_84906
Nimbostratus
May 04, 2010Remove a parameter from a query
Hi all,
I'm trying to remove a parameter from a query and I've tried to do it in so many ways but they didn't work as I expected...
For example the URL could be:
And I'd li...
Michael_Yates
Nimbostratus
May 04, 2010If you just want to remove that text from the URI going to the server this should work for you.
This iRule will not remove it from the Displayed URL in the Browser (to remove it from the Browser you would have to remove it from the URI and do a Redirect):
when HTTP_REQUEST {
if { [HTTP::uri] contains "X-VODAFONE-3GPDPContext=" } {
HTTP::uri [string map {"X-VODAFONE-3GPDPContext=" ""} [HTTP::uri]]
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
