How to check if the customer is already logged in from another location?
In order to check whether the current user is logged in or not, we can easily find out using the following code: if(Mage::getSingleton(‘customer/session’)->isLoggedIn()){ //customer is logged in } Note: This code only checks the current session of a customer using the current browser. Case: Suppose if a user with email: [email protected] is already logged in …