How to call a specific method in each action method of all controller classes in Magento?
For the Magento store I am working on, I have to check certain session variables on every page load. When the variables don't have the expected values, I need to redirect to a specific page.
No, I'm wondering how I could implement this behavior. I would normally do in-action validation of each controller's methods, but I don't want to rewrite each controller or all of their base classes.
Is there an easier way?
source to share