This is my second time trying to post this info, as the damn mobile site version ate my post and gave me some garbage about too many unique posts within 3600s or some BS. Mobile site sux.
Anyway, you can try to accomplish this via irules. The following may be a good framework example:
https://community.f5.com/t5/technical-forum/apm-inactivity-timeout-redirect-or-notification-page-for-ltm-apm/td-p/33219
So, maybe something like the following:
when HTTP_REQUEST {
if { [HTTP::cookie exists "MRHSession"] } {
if { [ACCESS::session exists -state_allow -sid [HTTP::cookie "MRHSession"]] } {
return
}
}
HTTP::redirect "http://login.url.goes.here"
}
So something similar to the above... we check for both a) active APM cookie and b) APM session state... if we are good, we exit the existing iRule. Otherwise, we continue executing and hit the redirect at the end to the login page.