I have been wondering always, where is all the registry data stored in Magento ?
I know that even singleton objects are stored in the registry. And registry is just a static array variable of the Mage class.
I have a couple of questions here to clear my confusion:
- Is registry different for different users ? I mean is it created on a per-user (per HTTP request) basis?
Mage::register('foo', 'Hello World'); //set a value for foo Mage::registry('foo'); //will this return hello world for all HTTP users ?
- Is registry data stored in sessions ? If not how will Magento identify which user invoked the registry data ?