age verifier
by decibel.places, Tue, 2009-02-17 21:02
.
Developed for a liquor web site for 21 years and over.
Now works with cookies enabled or disabled. With cookies disabled, will only verify once on index.html page - with cookies on, adding <script type="text/javascript" src="verify.js"></script> to every page will check if the cookie has been set and if not, redirects to the verification page.
User is required to input month, day, and year of birth. The user is either directed to a page on the site, or to a "safe" url.
I adapted a javascript front-end I found on HotScripts, which had one little error - it got the current month wrong, which I fixed. The fellow asked me to remove his code from this package; I have complied and made many improvements to the functionality.
If you have legal reasons to set an age limit, please consult legal counsel.