Copy link to clipboard
Copied
I'm trying to create a log-in page for my site and have an idea of the various components I need (such as the HTML form, database, and behavior) but I don't think I am doing it in the right order. I keep getting an error while trying to set up my server behavior. It says that the server name or address cannot be resolved and that either my testing server is incorrect or not configured correctly. I know the server is correct so I assume I just don't have it configured right. I have only a few pages I want to restrict access to and I just need to set up the log-in now. I've spent hours on the Adobe help site but have only found bits and pieces of what I need to create a log-in page and then the restricted access pages.
Copy link to clipboard
Copied
If it's only a few pages, could you put them into a password protected directory on the server so that the server authentication manages the login permissions?
I do this on sites where a full admin module with database is overkill.
Copy link to clipboard
Copied
form that checks against a data source for authenticity. that's really all you need. upon successful authentication you should set a session that all protected pages will check for, and if missing, will redirect the user back to the login.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now