I have a java program whith a mysql database.
the user loggs in in the breginning of the system with a username and password.
there are some functions that the normal users may not see/use. How do i know who is logged on to my system, since they only type in their login details in the beginning?
Will it be safe/Or is it the right way, to save that user in 'n temporary table in my database to see who he is, and just overwrite that entry every time some one runs the system. Or is there a way to keep that user password and username in some variable somewhere?
Coz i dont want to make my program security retarted.:S
Thank yoU!