CookieWebUser is a Yii component that using cookie only store for user auth info. It doesn't use server-side store (memcache, $_SESSION etc). This component can be used in highload projects.
Yii Framework 1.x or above.
'components' => array( 'user' => array( 'class' => 'CookieWebUser', 'secretKey' => 'secret key', 'cookieName' => 'cookie name', 'cookieDomain' => 'cookie domain', ),
WARNING!!! Persistent states and flash messages not implemented yet.
0.1 - Initial release
Total 1 comment
I would like to know if anyone has used this method is a real world. It’s so good to continue this idea, Current login systems based on "Session" have heavy load on server. Specially this fact that "session based” login systems usually save sessions on database.
How we can get a list of On-line users?
Leave a comment
Please login to leave your comment.