Drupal 6 hook_user tutorial: redirect user after login

Redirect a user after logging into a Drupal website with the use of the functions hook_user() and drupal_goto()!

There are many ways to accomplish this with contributed modules but this can serve as a simple introduction to the Drupal hook system for new developers.

Post Author: hatefull