Quote by vadertech: Also check your database table "users" and make sure anonymous user's uid is -1.
1, actually. I also agree that you should try rolling back any code modifications you made recently.
My guess is, it's either the uid of Anonymous or some broken code in the session / login handling and / or lib-common.php
bye, Dirk