It is rather strange. I can leave the forum without logging out for an hour or more and when I come back my login is still active. Only while mid-post does it expire. Win7/ Firefox is the typical software but perhaps it is a finicky virus/malware software that sees an open window and moves to shut it.
Copy/past is my best solution when I remember to do it... Did ya ever forget...