Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need login script

    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!

  • #2
    Regular Coder
    Join Date
    Sep 2005
    Location
    Chicago, IL
    Posts
    160
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    I'm only telling you how I would do it, not how its supposed to be done. ;)

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,079
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •