We are facing one issue while implementing Akamai in our application, issue is related to session maintenance. My application structure is – Akamai (xyz.com) -> Origin (origin-xyz.com) -> VIP / LB (Session Affinity on Cookie) -> WebServer 1 OR WebServer 2 We don’t have app server, application runs on IIS server on web server itself.
Further details - a. one data center for my servers b. one VIP c. two web servers in pool behind VIP d. Cookie persistence session setting enabled on VIP for port 80 and 443
If I try accessing my application without Akamai i.e., with origin.xyz.com everything works fine, no session issue. But if I try with xyz.com (including Akamai) session issue come into picture. Request is floating between two web servers.
*I am not sure if below information is correct or make any difference but would like to share, as I am not network expert. Note – VIP configured on load balancer is external (internet) if we access the site with origin-xyz.com then request directly approach load balancer but when we are accessing xyz.com then firstly it approaches to Akamai which is within same network and Akamai internally call the origin-xyz.com (seems some gap here, not sure what’s that and what’s the fix)
Any suggestion for resolving this issue.