Yii-User With Load Balancer


I’ve been using yii-user (http://www.yiiframework.com/extension/yii-user/) on several projects and I just have to say it is really awesome!

Now for a new project, I have a load balancer who switches between 2 machines.

The issue I have is that the user gets logged out as soon as the LB switch to the other node.

Do you know what setup I should do to share the session between the 2 nodes?