Hi,
I'm working on a integration plugin for a php calendar script called WebCalendar. http://www.k5n.us/webcalendar.php
The idea is that the WebCalendar script will authenticate against the Drupal database and check whether they have permissions such as "administer webcalendar" provided by a Drupal module.
I originally thought I could include the bootstrap file and do a Drupal bootstrap but that turned out to be a problem as WebCalendar and Drupal both use some same variable names ($user in particular) which does funny things like logging out the Drupal user etc. (If only PHP had working namespace support). So I have resorted to looking checking for a session cookie and checking Drupals database for the same session id etc.
Should I update the access/timestamp fields of the user and session tables when I do this authentication?
Also is there anything else in particular I need to know about authenticating directly against the database?
Thanks.