| For PHP sessions you have 2 options:
1. Set the session files directory to a directory shared by all the servers (session.save_path in php.ini.
2. Don’t use the default session handler (files), use a handler that stores the files in a database accessible by all the servers.
That way you don’t care which server got the request. A session can be started on one server and picked up by another one down the road.