This can happen if the cookies on your computer (which track if you are logged in or not) get messed up. If you clear all your Pistonheads cookies and then log back in, it should solve the problem.
I spend an unhealthy amount of time on the site almost every day and never have any problems with staying logged in; apart from the odd Sunday (of which yesterday was one).