When you log on, click the 'Remember Me' box.

That's usually the solution. Additionally, if you do lose your post, log right back in, hit your back button until you return to the screen you were posting on... most of the time your post will be waiting for you to submit it again.