Home › Forums › Back End › Best way to create a login form to access private area › Re: Best way to create a login form to access private area
February 9, 2013 at 1:12 am
#123857
puig_andrew
Member
Create a table in a database called admin, if the username and password entered in the form match the one in the database:
Create a cookie and redirect to the admin area. To prevent unauthorized access you can check if the cookie is set on the admin pages.