Im a begginer in php and i have a little project where i have a profile page with username and password, and i want the user to introduce them one time and if they are correct do whatever he wants and when he goes back to profile page he doesnt need anymore to introduce the credentials again and it does autologin with the credentials he introduced the last time.
I have tried to get the username and the password into a session but neither do i know to do it in a secure way nor how to do the autologin back in the form reading the session i have created previously containing the username and password.So i hope you can help me pls 🙂