CWebUser and logout()

Hello!

I’m using CWebUser in two different parts of my site, i’ve extended the class into seperate classes and i’m using them as two separate components.

I’ve also made sure to change the keyprefix so that they won’t share the same session data.

However when i use the logout() on either of them, it will destroy the session data for both users being logged in.

Is there any way i could get around this problem? Any suggestions? Maybe this should be an improvement of the framework?

Sincerely,

Martin

Perhaps this might help:

stateKeyPrefix

Sorry, i meant to say stateKeyPrefix. I’m modifying this and still it’s logging out both separate states.

Was this maybe changed during the past 2-3 months? I might have an outdated yii version on this project.

Thanks.