This topic is locked

username and userid

3/30/2012 3:06:34 AM
PHPRunner General questions
S
stiven author

Hello,
I just upgraded to version 6.1. on version 6.0 I had added this code on the AfterSuccesfullLogin events page

$_SESSION["UserID"] = $data['name'];


this would give me the name of the user on the logged on as message, however, on this new version this doesn't seem to work on the logged on as message i see the username instead of the name, also on the audit table i checked the option to insert the log in and log out actions to this table and i see that when the user logs in the users appears to be the username and when he logs out the users appears to be the name. example
datetime || ip || user || table || action

2012-03-29 14:45:08 || xx.xxx.x.xxx || email@gmail.com || users || login

2012-03-29 14:45:55 || 00.000.0.000 || Joan || users || logout