For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

maddox76_56722's avatar
maddox76_56722
Icon for Nimbostratus rankNimbostratus
Apr 09, 2014

cookie method using the cookie from request

I want to send request to the "correct" server mentioned in the cookie. I get an request from client with cookie SUN=App@Server1 and I need to send that request to Server1 in pool Default.

 

The problem is that my persistant table dosen't have the cookie because of my timeout value. The server is creating the cookie with an set-cookie. I can not increase the cookie timeout because of other backend stuff..(I am using Cookie Hash)

 

This scenario can happend after some time when the connection from client to BigIP is established. But the time have passed the cookie timeout. The new request that arrives to the loadbalancer will be redirected to the first server, even if the request header has an cookie value. (And here I want to create an irule which send the request to the correct server based on the cookie value)

 

Any ideas /tip where to start?

 

BR Max

 

1 Reply

  • There are 2 timeouts here - the timeout contained in the Set-Cookie response header, and the timeout in the entry in the persistence table. Are you sure you can't increase the timeout in the cookie hash profile so that the entry stays in the table for longer?