Forum Discussion
Wes_98712
Nimbostratus
Mar 17, 2006images irule
I have a strange problem, one that I can't seem to figure out, probably because I'm not thinking it through. I have the following rule:
else if (http_uri ends_with one of images) {
use ...
Deb_Allen_18
Mar 18, 2006Historic F5 Account
Each HTTP object, even images referenced within an HTML page, is a separate request, and each request can be sent to a different pool using logic similar to yours. It sounds like you need to be able to tell when an image is called by /branch.html. You can tell what page called the images by examining the "Referrer" header -- something to consider in building your conditions.
Adding log statements such as "condtion X seen, using pool Y" can help reveal where your rule logic is broken, if that is indeed the case.
But I could see how sending request to 2 different servers could interfere with jsessionid assignment such that one server's sessionID would overwrite the other's.
Can you make the image servers stop generating a 2nd jsessionid? If it's just serving images, I would think the server doesn't need to create stateful sessions.
If you can't prevent the 2nd sessionID from being set, in v9 you could intercept the 2nd jsessionid from the image server if the request came from that Referrer, and delete that cookie.
HTH
/d
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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