What i am trying to achieve is: Abandoned Customer Email Notification using 2 ways.
1). when customer logged out or closed his browser,
2). After X no. of days
ON Both ways cron will work.
For 2nd Way i have the solution.
But for the 1st way i am not getting how to check the customer is logged out or not, on the external php page or in module.
Kindly suggest, Please.
Best Answer
I found this answer on stackoverflow...
https://stackoverflow.com/questions/13723166/magento-can-not-detect-if-customer-is-logged-in-or-not
for more details check here Magento Customer login