[development] how to intercept user login with cookie

vitamona vitamona at gmail.com
Tue Apr 3 17:03:08 UTC 2007

is there a way for intercept a user when login via cookie?

For example, when a user login with a form (no cookie stored) is
possible to intercept them with hook user:

function hook_user($type, &$edit, &$user, $category = FALSE) {
	if ($type == 'login') {

Thanks a lot


More information about the development mailing list