(OFBIZ-10666) On further investigation, I found that cookie path and domain are different in the methods of creating the auto-login cookie i.e. LoginWorker.autoLoginSet() and removing the auto-login cookie i.e. LoginWorker.autoLoginRemove(). After following changes the issue seems to be fixed: 1. Removed getMaxAge() check from the condition used in LoginWorker.getAutoUserLoginId() method. 2. Corrected the path and domain in the method LoginWorker.autoLoginRemove(). Thanks: Deepak Nigam for discussion and fix git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851247 13f79535-47bb-0310-9956-ffa450edef68