How can i set sessions for profile page?

I have a page that allows the user to login and see their profile page, however i wish that the users should be able to see their details that are saved in the database on their profile page whenever they login successfully.

If they’ve logged in successfully, then you have already established their identity which is presumably what is used to access the “details that are saved in the database”. So once your code has checked the login, run another query to retrieve whatever details are required and display them while drawing the profile page.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.