I m new in PHP Programming and tried to understand cookies and session and how it can be used for one code with HTML
First i want to create a login page -
2) response page ,without using any DB or mysql
If users is true- saves username to cookie, and sets session variable LogggedIn to TRUE.
Displays link to "content page".
3) content page - checks session variable - if user is LoggedIn, says Hello "XXXX" where XXXX is the username from the cookie.
If not, displays link back to login page.