Recent searches


No recent searches

[ZAF] Is it possible to utilize AWS cookies with the ZAFClient to enable sticky sessions?



Posted Sep 27, 2024

My Zendesk support plugin integrates with a backend that uses AWS Load Balancer to route traffic to the most efficient target. AWS Load balancer uses cookies to enable sticky sessions, which handles directing subsequent requests to the same target as the previous requests from the same session. I cannot find documentation suggesting that the ZAFClient supports passing the cookies from the browser to the final endpoint. This prevents ZAFClient requests from leveraging the sticky session functionality provided by Amazon. This lack of compatibility for sticky sessions is causing performance defects; the user receives cached data when routed to the wrong target. 
My plugin uses the ZAFClient to handle all API requests, it cannot use standalone AJAX requests without the ZAFClient because secure settings are needed to handle authenticating the API. Do you have any recommendations for how to add support for sticky sessions with ZAFClient calls to AWS Load Balancer?


0

1

1 comment

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi there! I personally don't have any experience with anything like this, but hopefully someone else in the community can chime in if they have thoughts!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post