|
JavaScript Zone Script Tutorials
|
|
Introduction Pre-requisites Installation Notes |
| Introduction |
|
Related Links
Visitor registration tutorial
| This Javascript demonstrates how to use passwords to restrict access to parts of your web site, for example, adult content. The users enter a password on the first screen. This password is then verified against a value held in a cookie (for example in a value created by the registration process), and if it matches the restricted second page is loaded, the entered password stored in a temporary cookie. The second page then re-checks the entered password in the temporary cookie against the stored password cookie. If a match is found, the page is displayed. If the match fails, the user is returned to the first page. Click on the link below for a demonstration of this script.
|
| Pre-requisites |
|
| Installation |
|
| Notes |
|