Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Action when user session expires
 
Rafal
Member
 
Total Posts:  42
Joined:  2007-11-22
Munich
 

Hello,

when session of user expires I’d like to call some php-code.

When users logouts - then it’s not any problem. But when user just closes browser then it’s not to so easy.

I have found in Mage_Core_Model_Session_Abstract_Varien method: unsetAll - but it’s not always used !

So I found Mage_Core_Model_Mysql4_Session but it’s not used at all.

Do you know how could I attach some action when session expires ?

I could replace session handling, which already exists. But I’d like to avoid it. I want in gently way just attach my stuff.

with best regards,
Rafal

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top