The Project i am working on is based on multiple server which uses load balancer. The Problem is i can not maintain PHP session through out all servers.What is the best way to manage session over Load Balancer ... ?
i can think of these two methods for this purpose.
Working SSL & Load Balancer, it is common to put the SSL on the load balancing server, but not on the back end servers. So you only need one certificate on one server. The load balancer then talks to the back end servers using plain HTTP. This obviously requires that your back end servers are not directly accessible from the internet.This load balancer is responsible for decrypting the request, it will also be able to inspect the request for a jsessionid.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With