Forum Discussion

RanjeetKumar_21's avatar
RanjeetKumar_21
Icon for Nimbostratus rankNimbostratus
Jul 22, 2015

Forward request to different node after logout

Hi, I have F5 load balancer that is already configured in production and working fine. I am a java developer and I am using JBoss server. But my problem is when user request for a login page and suppose that request came on Node1 then all the incoming request is going to Node1 only until user close the browser and delete all the cookies. But I want that when user logout from the session and again login, request should go on different Node. On logout I am invalidating the session and deleting all the cookies(I am getting new JSESSIONID after logout). But it is not working. Please suggest me what I should do and from where(application end or load balancer end) this issue will resolve.

 

2 Replies

  • Unfortunately load balancing affinity is controlled by the load balancer, so it's imperative that you know how that is done. Specifically you need to ask what "persistence" method is used with the virtual server.