mcd — 2011-04-22T17:13:01-04:00 — #1
Not entirely sure what exactly I'm asking for here, but basically I need to create a page for a client that allows a secure login to access another page. It just needs one username/password combination, and it has to be configureable to automatically log out a user when they close their browser window.
felgall — 2011-04-22T18:25:49-04:00 — #2
You could build it all into the one script so that when they enter the userid and password the page reloads displaying the password protected section in place of the login form. See Felgall PHP - Password Protecting Part of a Page for an example that uses PHP (the code used to do it will display when you enter the correct username and password - which for the purpose of this example only is displayed in the page).
mcd — 2011-04-26T23:12:31-04:00 — #3
Very cool, thanks Stephen. Think I'm going to give this a try.