Solved

How to handle login+password

Posted on 1998-09-02
2
157 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eclipse Neon and jdk 1.8.0 11 138
eclipse formatting 6 73
split string containing \r\n in Java 46 38
Arrays.asList  VS  ArrayList 4 45
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

920 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

15 Experts available now in Live!

Get 1:1 Help Now