Is my habit of calling all user information on a page safe? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is my habit of calling all user information on a page safe?

In the website I'm making, whenever a user logged in to the system. the system will use the username and password to obtain all basic information of the user that is not confidential like his identification number or account password. things like name and so on. So is this habit something common in web development or it is a bad habit?

30th Jan 2018, 9:47 AM
Muhd Adam Mohd
Muhd Adam Mohd - avatar
1 Answer
+ 1
I think this is a common practice in web applications. The use of local storage, session or local cookies, may be other options for storing that type of data, so that it does not have to be downloaded/sent after every login to your site.
31st Jan 2018, 8:24 PM
Anthony Grimes
Anthony Grimes - avatar