Forum Discussion
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
}
}4 Replies
- JPV_131616
Cirrus
maybe change the code of the page to not use/create a session on any connection/request to the page...
what platform is serving the jsp's?
- cbrdy
Nimbostratus
Hi JPV, this jsp is deployed on tomcat
- Kiran_Kumar
Nimbostratus
please provide your monitor config if possible.
- nitass
Employee
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.
not sure if i understand correctly but application is the one who creates session when getting request from f5's health monitor, isn't it? so, how can irule address this issue?
am i lost?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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