Capturing user info
If I have many users able to log into restricted pages, and I need to capture which user has inserted new records into a database, how do I ensure that I am capturing the correct user identity for the content they've entered?
I am looking to use a user log table in my DB to post in a username and user ID each time they enter content.
Thanks.