Forum Discussion
Michael_Yates
Jul 24, 2013Nimbostratus
Hi Eddie,
Thank you for the additional explanation. It makes more sense to me now on what you are trying to accomplish.
I still see a problem though, the cookies that you are creating and injecting are Session Based on the browser, so unless they are going to use the same browser for 7 days straight there is still a very good chance that they could bounce back and forth between your new and old servers.
Another idea (and it still has caveats to it) would be to create a Table (iRule Table Command) that would store the Client's IP Address with a lifetime of 7 days. When the client connects, if their IP Address is in the table then route them to the new server. So unless their IP Address changes you have them tied to the new server.
Where this could be problematic is if you have a large number of clients behind a NAT hide or something.
It's just a thought. In the end I would recommend that you do whatever works best for you. :-)