Login Creates 3 Session Variables

Hi

I’m using a modified version of the user management extension (http://www.yiiframework.com/extension/yii-user/) and notice that when I login there are 3 sessions being created. Looks like two are the same with the same data and the other one is empty.

This doesn’t seem right to me at all. Has anybody else noticed this and how can I prevent it.

Lux

I tried a number of these extensions and in the end just did it myself… too many bugs in what I tried, including the one you are using.

I think you would do well to try an online tutorial, as these tend to be simpler while still meeting requirements in most cases.

Take a look at these:

http://www.larryullman.com/2010/01/04/simple-authentication-with-the-yii-framework/

http://www.larryullman.com/2010/01/07/custom-authentication-using-the-yii-framework/