Magento 1.8 – How to Clear Session on Browser Close

cookiemagento-1.8session

I want to store a value in session and to remove it on browser close. How can I do this?

Best Answer

You can set the cookie lifetime via the admin section to "0". This should mean that the cookie will expire on browser close.

Related Topic