How do I make a simple Password field... More.

Giganews Newsgroups
Subject: How do I make a simple Password field... More.
Posted by:  Wayne Davis (waydavis…@hotmail.com.NOSPAM)
Date: Tue, 29 Jul 2003

I want to password protect the continued running of a section of javascript.

What I need is for the user to see a login field, they type a code in, if it
is good, the script continues, if bad, it stops dead.
I would like to base the password on julian date so some example numerical
calcs (so I can see how they are structured in Java)  would be handy.

Also, how do I time out a group of statements after a preset amount of time
like 1 minute or so.

I am not a Java programmer, but if examples are shown, I can usually figure
out the specific details.

THANKS in advance.

Replies