Forum Discussion
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
- IheartF5_45022
Nacreous
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?
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