Yii registry, how to use it, does it exist at all?

Comparing #9 with #11

Tags

Zend_Registry, registry, params, CMap, magic, get, assets, state, global, globalstate

Content

[...]
every thing you set via setGlobalState will be saved in runtime/global.bin in serialized form

Some common component that use it is CSecurityManager for validation key

And be careful with clearGlobalState, because it will regenerate the security key... 
 
it may have very bad effect if you for example encrypted passwords for user without specify your own key
Links ----- [Russian version](http://resurtm.kzcom/registry-in-yii)