Hi
in the table tracker where action=login the user_id field is always blank
How can I extract data on users login (successful or unsuccesful attempt)?
I'd not have only to log file but a table
tks
Hi
in the table tracker where action=login the user_id field is always blank
How can I extract data on users login (successful or unsuccesful attempt)?
I'd not have only to log file but a table
tks
You can set an 'after_login' logic hook and manually program a fuction to track your logins. You can even use the track modules.
the file would be custom/modules/logic_hooks.php and its content would be something like that:
For more information about logic hooks:PHP Code:if (!defined('sugarEntry'))define('sugarEntry', true);
$hook_array['after_login'][] = array (0, // logic hook id
"track_login", // logic hook name
"custom/include/LoginLogicHooks.php", // file where you code should be stored
"LoginLogicHooks", // class written in the file above
"track_login" // class method called. this method should be the code the code to track the logins
);
http://developers.sugarcrm.com/docs/...2.html#9001780
Daniel de Carvalho Passarini
"Fascinating" - Dr. Spock
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks