Hi all,
I'm creating a login system for an administrator section. All works fine, pulling in the admin details in from a database, with conditional statements to go to a secret page if true and redirect back to the login page if false.
What I want to know is how do I stop a user typing the url of the secret page directly into the browser and skipping the login altogether, gaining access to the page without first loging in?
Is there code that will recognise this has happened, and tell the browser to redirect back to the login page?
Cheers