Underneath the area where you log in there is a remember me or stay logged in box. If you check that box it will keep you logged in till you physically log off.
If you ever lose a post after you hit publish, try the back button. It always brings my post back up, I copy it, log back in, and repaste. Sorry you lost your post. friggin' computers anyway.