2
我想在用戶註銷時做一些自定義功能,所以我迷上了客戶註銷事件,並添加了一個觀察者。magento中的會話超時事件
下面是config.xml中
<customer_logout>
<observers>
<cwmyaccount>
<type>singleton</type>
<class>KrtMalta_Myaccount_Model_Observer</class>
<method>setRegularCustomer</method>
</cwmyaccount>
</observers>
</customer_logout>
但是我想即使在會話超時執行我的自定義功能的配置。我查過谷歌和Magento文件幾乎沒有成功。是否有可能以某種方式掛鉤會話超時?