Home } Password Protection } Multiple Users



Rather not have one password for access the Members-Only section of your site? Well, along comes this little JavaScript gem. You can set up a separate username and password for as many members as you want, and even give each a different page to go to after logging in!


To login:
Username: guest
Password: login


Members-Only Area!
Username:
Password:


Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

3. From: Jono
WTF?
12/14/2008 17:24:40

What happened to the source box?... that was cool... its freaking annoying that u have to get sent it by email.... ;(

4. From: Lee (Admin)
01/16/2009 11:33:08

Once you login, using the example on the page, it takes you right to the source code.

1. From: Hans
password protection script
11/21/2008 03:57:31

It would be a great program to use if I could get it to work.
After copying the script to the correct places and typing the username, password and adding a webpage url I cann't get it to work after pressing Login.
No webpage no "Invalid login".
What am I doing wrong>

2. From: Lee (Admin)
12/02/2008 11:32:18

It would be hard to answer you question without knowing all the details and seeing how you did it. Your question would be best answered over on the JavaScript forum. Thanks!

Sign up for the Web Development Daily Newsletter

internet.com Privacy Policy
We'll send this script to you!

(just click "Send it!" once!)