You probably have something installed that clears your cookies when you come offline. (Just a guess based on no information) Have you tried emailing Yahoo Mail Support?