Magento PHP

How to manage Session in Magento

Session in Magento can be implemented and managed by one of the following way File system. Database. Memcached. tmpfs Filesystem. Out of these 4 options, 2 options are available while installing Magento from which File system is by default selected. How to Add, Retrieve and Delete (unset) a Magento session?  Add. Syntax to add Magento session Mage::getSingleton(‘{{type}}/session’) ->set{{SESSION_NAME}}(‘VALUE’); For  e.g.…