Forum Discussion
Nick_T_68319
Nimbostratus
Feb 20, 2009GTM - Static Persist
Can someone explain to me how static persist works? Here is my concern..
I have two datacenters hosting an e-commerce web site. In order for users to not lose their session, they NEED...
James_Quinby_46
Mar 04, 2009Historic F5 Account
In that case, you could use an iRule to insert a "Data Center Affinity" cookie for each new user that comes in. The same iRule would check for the existence of the cookie - if it matches the DC that the user has come to, all is well, continue. If, however, the user shows up at DC-"A" with a cookie inserted for DC-"B", you could issue a redirect to the other VIP. If you have layer 2 connectivity between Data Centers, you could also accept the user at DC-A, but then route the request to a node member at DC-B. Or perhaps proxy the request.
There are a couple of different ways to skin this issue - DC affinity is a big deal for exactly the situation you've outlined. A change in a users's LDNS could have them at Site B when they began their session at Site A, which possibly Breaks Things in an Undesirable Way.
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