I'm creating a website which requires a Login. When it logs in the system it creates a Session.
But I don't know how to validate my next page. Because if the user types the name of the second page in the browser, it enters without problem. What I want is to verify if there is any session created, and if there isn't, to redirect to the login page, instead of loading it and have access to it.
I hope somebody can help me,
thanks