Forum Discussion
adharkrader
Feb 03, 2011Nimbostratus
Detecting redirect loops with LTM?
Is there a way to detect when a user is caught in an endless redirect loop? It's usually between two virtual servers... A "calls" B with an expectation of returning to A but something goes wrong and...
hooleylist
Feb 03, 2011Cirrostratus
You could try to track redirect loops, but I think it would add significant load to track every HTTP request. What would you want to do if a client was looping between two different virtual servers? The client will give up anyhow (typically after 30 redirects).
Perhaps you could set a session cookie which tracks the redirects. Once that cookie value exceeds a threshold you could send a different HTTP response to break the client out of the loop. You'd probably want to reset the cookie value to 0 when a request is not redirected.
Aaron
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