I've had this happen to me too. I took too long in my response and got logged out. I had to hit the back button find my lengthy message copy it, log in and paste. I've learned to type it in word, then log in and paste it in.
Then I learned to keep them short and sweet. LOL It's hard sometimes.