简体   繁体   中英

AWS Loadbalancer routing request

I am using Amazon AWS EC2 to host my web application. My web application is hosted on 2 web servers and having Loadbalancer to manage traffic. I am using CodeIgniter framework.

My problem is when I try to login to my application, Loadbalancer is routing my request to wrong server and even with correct Login Password I am not able to Login to my application and due to this my session is not started.

Thank you in advance:)

You should be enabling the sticky session feature. If you are using AWS ELB (Classic Load Balancer), then check out how to configure sticky sessions .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM