Forum Discussion
patrickb323_703
Nimbostratus
Jun 11, 2009Cross-domain sticky site question
Can the following requirement be implemented using F5? what would be involved? is this straightforward to implement and something commonly done?
Requirement: load balancer server assignment should be sticky across specified domains. I.e. a user should be assigned a single server in a cluster for his entire session regardless of different domain request URLs. The user should be able to make requests on domain1.com and domain2.com and be assigned the same server.
.
We will run into cross domain browser restriction issues for sharing data across domains. But, this will be handled at the Java servlet level using redirects and a master/slave cookie domain and session management process.
I am not familiar with load balancers beyond the basic cluster concepts. I want to make sure that I am not making an outlandish assumption that this can be handled easily by a load balancer.
- L4L7_53191
Nimbostratus
How is the user's session going to be identified at the application layer? If you know how the sessions will be handled with the application it'll help identify your options with the BigIP. Normally I'd expect a JSESSIONID but I'm not sure it'll work across domains like this, at least barring some special configuration in the application. - patrickb323_703
Nimbostratus
- L4L7_53191
Nimbostratus
In this case you may be able to simply use JSESSIONID persistence. Have a look at some of the (many) different options available to you via a quick search on this site. The good news is that you should be able to accomplish this across domains - the key bit is that we store a session table entry based on the cross-domain cookie. - SNU
Nimbostratus
Hi Matt,
can you please provide the details for implementing the JsessionID persistence ?
Thanks, Najeeb.
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