Anonymous user


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.

Background
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');

Acknowledgments

This project is sponsored by Trellon.


Anonymous user项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
76
维护状态: 
最低限度维护
开发状态: 
仅修复BUG,不添加新功能