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