This project is not covered by Drupal’s security advisory policy.

Anonymous User

Module checks that anonymous user exists, otherwise creates it. Inspired by blog post Missing Anonymous User by Greg Harvey and my own experience.

By default in users table there is anonymous user, which could be identified by id equal to "0". In some cases id of this user could be lost, that breaks functioning of anonymous user in Drupal. Probably it happens after making dump or restoring database. This module needs to be run in cron. It does very important task: insures that anonymous user exists with id equal to "0".

What you get

  1. Use $_SESSION while anonymous is browsing your site.
  2. Allows anonymous to create new content.

Modules where you need it

  1. FAQ_Ask.

For developers

If you need to create anonymous user manually you could call 'create' hook: module_invoke('anonymous_user', 'create');


This project is sponsored by Trellon.

Project information