Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to handle login+password

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
arguments to jar 5 33
Java: anonymous class 4 29
printf performancy 11 67
learn programming 8 33
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

809 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