I'm trying to get some sort of mutiple username and login script that aslo greets the user after logging in. If someone could help me, that would be great!

boxxer03

05-24-2006, 06:14 AM

There's no secure way to use JavaScript to have people log-on to a site. You should use PHP or something like that, a server-side language. You can do it, but it won't be secure at all and it would be a long script, depending on how many people were to be allowed to log-on to your site.

Philip M

05-24-2006, 07:35 AM

Yes, of course server-side is preferable. but a lot depends on how much security you really want or need. Not much from what I read into your question.

See Borgtex's ingenious solution at
http://www.codingforums.com/showthread.php?t=10114

This JavaScript is entirely secure unless someone else (who is pretty knowledgeable) can access the user's computer. This seems to me to be pretty similar to many other so-called secure log-ons where the user name and password are remembered by the local machine. Including CodingForums of course!