View Full Version : need login script

05-24-2006, 01:01 AM
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!

05-24-2006, 07: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, 08: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

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!