Chapter 16. Sessions, Page 367
Drupal doesn't store session information the first time an anonymous user visits a site. This is to keep evil web crawlers and robots from flooding the sessions table. As a developer, this means you cannot store session information for the first visit from an anonymous user.
Drupal doesn't usually store session information the first time an anonymous user visits a site. This is to keep evil web crawlers and robots from flooding the sessions table. As a developer, you should try to avoid storing session information for the first visit from an anonymous user.
Drupal will store session information for the first page view from an anonymous visitor if data has been stored in $_SESSION. See http://api.drupal.org/api/function/sess_write/6.
