How to configure the portlet session object lifecycle in liferay portal6.2? -


my requirement need store user-cart object in portlet session. whenever user adds item cart user-cart object should updated , again saved portlet session. whenever user logouts /session expires these user-cart object details should saved database. able save object in portlet session when user logouts /session expires details not getting saved database. override "logoutpreaction" class using hook. in run method unable portletsession object. how portlet session object in run method of "mycustomlogoutpreaction" class?

try servlet session destroy event. @see "servlet.session.destroy.events" property in portal.properties

    #     # servlet session destroy event     #     servlet.session.destroy.events= 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -