Forum Discussion
Frank_J_104756
Sep 24, 2007Historic F5 Account
irule feature question
Site has multiple VS, A, B, C, D...user 1 comes in and gets directed to VS A. VS A has coookie insert persistence. User gets a cookie. Something on the user side (AOL proxy) changes and user then gets directed to VS B. Can an irule be written and applied to VS A, B, C, and D that would recognize an F5 created cookie in the HTTP stream, and redirect the client back to the VS that originated the cookie ?
This is an ecommerce site and what is happening is costing a lot in money and customer satisfaction since the shopping cart doesn't stay populated.
Thanks!
16 Replies
Sort By
- Frank_J_104756Historic F5 Accountwe needed logic to validate that the destination pool is actually up so the irule now looks like below...problem is that if that original pool is down and the user gets directed to the default pool of the VS they now have 2 cookies. If the original pool comes back up, they'll get sent to it and lose whatever shopping they've done on the default pool. Is there any way to remove the cookie from the original pool if it's down ?
- JRahm
Admin
when you've determined that the pool is no longer available, remove the cookie: - Frank_J_104756Historic F5 Accountit's not removing the cookie though
- Frank_J_104756Historic F5 Accountthe irule shows the cookie gone, see output below, but the cookie still exists on the browser
- Frank_J_104756Historic F5 Accountthe site has expressed willingness to use non-session cookies if having expiration dates allows us to make this work.
- Frank_J_104756Historic F5 AccountHere is the final working irule, until the customer asks me to change it agiain : )
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects