I am using the Magento customer session to store some data. I want it to be destroyed when a customer logs out.
However (customer/session) still persisting the data.
One way is I can unset data on the log-out observer. But does it automatically clear all the customer session data when the user logs out?
What is the ideal way to achieve it?