Forum Discussion
playfair039_320
Nimbostratus
Nov 11, 2017submit client request before http redirect
Is there a way to send the client request to the downstream server before redirecting the client? so desired flow is 1, when http request 2, if uri eq /logout (for example) 3, pass request to a downstream server (jsessionid persistence is in use) 4, redirect the user to the homepage. Thanks in advance
- Stanislas_Piro2
Cumulonimbus
You can detect logout uri in HTTP_REQUEST and redirect in HTTP_RESPONSE
when HTTP_REQUEST { if {[HTTP::path] equals "/logout"} { set logout 1 } else { set logout 0 } } when HTTP_RESPONSE { if {$logout} { HTTP::redirect /foo } }
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