Separate Domain users get redirected to Default domain upon login and content save
After plenty of fatigue , I ended up removing $base_url from settings.php and the problem was solved. But still I wonder what if I have to ever to use $base_url again, the problem will again creep up.