handling 302 redirect from tomcat node
Hey Everyone,
I'm facing an issue where there is a 15 minute idle timeout hardcoded on the backend tomcat server. When this 15 minute idle time is reached, the session should redirect to the same webserver and the user needs to re-authenticate to continue. The problem I'm facing is that when the session is cleaned up on the tomcat server, the f5 connection dies. I need to figure out a way for the f5 to handle the 302 redirect which will allow it to connect back to the webserver for authenication. Also, here's a brief on the scenario:
A session hits the VS using 443. B/c of client requirements, the back end connection must happen over 443 also. I have persistence based on cookie, and specifically JSESSIONID. I have used the irule below for jsession:
when HTTP_RESPONSE { if { [HTTP::header exists "jsessionid"] } { set jsess_resp [findstr [HTTP::header "jsessionid"] "!" 1 "!"] if { $jsess_resp != "" } { persist add uie $jsess_resp } } }
when performing an ssldump, I only see handshake failures on the server side of the connection, and I'm assuming this happens after the session is cleaned up on the tomcat server.
Any help is appreciated!