It is possible to handle this by using so called sticky sessions, but this mechanism is not always available.
If you are designing for the cloud you must avoid sticky sessions since the big cloud providers do not offer this functionality in their platforms.