Forum Discussion
APM session expired HTTP code
Hello community,
I am facing an interesting situation with F5 APM being deployed as a proxy in front of an application. A little background: the application itself is a mix of HTTP/AJAX/JS which is being loaded to the client browser once at the very beginning and afterwards just proceeds with loading JSON/HTML templates on demand. The application is assuming that HTTP200 response from the server indicates that a response contains valid JSON/HTML data.
The problem manifests whenever a user session expires - APM module returns appropriate error/notification page, but with HTTP200 response.
Can the APM be made to return status code other than HTTP200 (eg. 401, 403, 419, 440) in such scenario? If not - what could be an easy and elegant way to resolve this?