php easy :: admin login scripts set
This set contains 3 ready-to-use admin login scripts using 3 different authentication methods: 1. HTTP Authentication; 2. Cookies; 3. Sessions. All the three provide the same security level and do not require any DB. Minor differences: in cookie version you can also specify the number of days to keep your cookie alive while in other two versions the session will expire when you close your browser window, and in HTTP Authentication version there is no real logout but just a redirection to the root folder while there is no way to unset server globals from within the script - you will be logged out automatically as soon as you close the browser window to terminate the session.