I would be grateful for comments and suggestions.
um, make it a module, a kwalitee module with documentation, that describes what it does , say something along the lines of
# is_user_valid( # is_user_loggedin( # is_user_user( # is_user( is_authenticated_drupal( dbi => $dbi, cookie => $cookie, ); # can_user_do_this( # is_user_allowed_to( is_authenticated_drupal( dbi => $dbi, cookie => $cookie , page => $page, section => $section, something_else => $something, );
But maybe you want to make it a CGI::Session::Auth plugin so you'd suit the interface to boot
But not having done anything DRUPAL, I'm not even sure this is the best way (raw SQL access) -- I can't imagine that drupal doesn't have an official api independent of backend for authorentication/authorization
In reply to Re^3: Integrating Perl cgi forms with Drupal site, any advise on unified login issue?
by Anonymous Monk
in thread Integrating Perl cgi forms with Drupal site, any advise on unified login issue?
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |