Forum Discussion
Aaron_33366
Mar 14, 2011Nimbostratus
Wildcard cookie
Hello. I have migrated my config from a Cisco CSS to an F5 LTM and have run into a problem. One the CSS I was able to have a cookie that was use for all parts of the domain. I was able to set the o...
Aaron_33366
Mar 15, 2011Nimbostratus
Thanks for the reply. I already know how to create the profile for a persistence cookie which I have done. But what I need to be able to do is make that cookie have a domain set in it so that it is for all of my *.domain.com. This way when someone hits virtual server for site1.domain.com they will get a cookie for *.domain.com. Then if that user was to go to site2.domain.com which is a different virtual server that user will still persist to the same server it was load balanced to by looking at the cookie and understand that the cookie is valid for site2.domain.com. Hoolio/Aaron has show the iRule to create the domain part of the cookie, however what I dont understand is how can I set the cookie to have value for the server that was chosen for load balancing.
Below are the values for the 2 servers in the cookie value.
268871872.48129.0000 = 192.168.6.16
285649088.48129.0000 = 192.168.6.17
So my question is if the F5 decides to send to 192.168.6.16, however can I get the iRule to insert the above value for that cookie? How can it find out where the F5 will send the request to.
Thanks again,
Aaron
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