cbrdy
Feb 07, 2014Nimbostratus
Health Monitor is creating a new session id on the application
Hi,
We have a test jsp page which is setup as a health monitor on the application to check the status of the instances on the F5. This health monitor is causing the application to create a new session everytime and its not expiring the session.
I'm new to irules so I want to check in devcentral before I add this in my env. Please let me know if the below code is okay or it needs few tweaks in it.
when HTTP_REQUEST {
set uri [HTTP::uri]
if { $uri ends_with "check.jsp" } {
HTTP::cookie remove mysession
}
}