Forum Discussion
How to preserve data in a HTTP 302 redirect of a POST
Hi 2funky,
I normally step a bit back, and ask, why do we get the redirect ? Wouldn't it make sense, that if the user sends the post to a the wrong URL, that BIG-IP would change the inital Post to point to the right backend URL ?
ie: your post goes to www.test.com/login.php redirect sends you to www.test.com/prod/login.php Browser sends the request to www.test.com/prod/login.php (without Parameters) iRule would need to add it.
What you could do very easy would be to change the inital post www.test.com/login.php to www.test.com/prod/login.php without changing the Parameters. So the Backend System would not need to send a redirect, and could consume the Parameters and Values as needed.
Wiesmann
Recent Discussions
Related Content
* 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