I just wanted to share the solution to a problem we had this morning where we couldn't log in to our site with any username or password.

We checked this forum and saw a number of threads with lots of back and forth on how to solve it, with suggestions ranging from commenting out user module code for session variable to reinstalling.

The cause of the problem: We had errors in the sessions table of our database (spotted using a 'select count from sessions')

The solution: run a a repair on that table.

Hope that helps someone, sometime.

- Geoff