Solved

How to handle login+password

Posted on 1998-09-02
2
156 Views
Last Modified: 2010-03-30
Suppose that we have many logins to a server HTML form
with each user giving a user name and a password and then
clicking the submit button. How do we validate the input?
Do I have to use JDBC to find out who the user is and other
data about him. Can JavaScript be used here instead of Java
0
Comment
Question by:riddhi_barman
2 Comments
 
LVL 3

Accepted Solution

by:
mjenkins earned 0 total points
Comment Utility
It is impossible to supply a complete answer to the questions you've posted:

Q) How do we validate the input?
A) How do you want to validate the input? There are many,many ways to validate data.


Q) Do I have to use JDBC to find out who the user is and other data about him?
A) That depends upon whether or not the data is stored in a database.

Q) Can JavaScript be used here instead of Java?
A) It depends upon what you want to do.
0
 

Author Comment

by:riddhi_barman
Comment Utility
Look, I plan to have a stored set of user names, user data, and a
password for each user. When the user logs in, i intend to
verify if login name matches with password and then identify the
user.
I hope this makes my question a little clearer.
Thanx
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now