I was developing a Moodle site on version 2.7 for a client and all of a sudden their old site on version 1.9. started refusing signing us in. The error message was Your session has timed out. Please login again.
Naturally I emptied the sessions folder of sessions files and cleared cookies in my browser but no help. Still no login and returned to homepage. Finally this is how I solved Moodle “session has timed out” problem:
1. Log in to your webhost-s control panel
2. Make sure you are not exceeding your hard disk space quota 🙂
All of best,