Forwarding to an external URL while session timeout


Can anyone help me for the below case please ?

In our environment, we have configured business console for Single Sign on(SSO) using form submission technique of F5 load balancer. F5 load balancer is configured for 30 minute session timeout. Business console also configured for 30 mins session timeout.

Our requirement is, while business console is breaching session timeout, we want to invoke/forward to another URL, which will clear all the session details from F5. How can we achieve this ? Is there any way to configure an external URL while the session of business console gets timed out ?

Thanks and Regards,