Solved

How to handle login+password

Posted on 1998-09-02
2
158 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
ID: 1223328
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
ID: 1223329
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
The viewer will learn how to implement Singleton Design Pattern in Java.

803 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