Servlet authentication question?
-
My site prompts the user for a username and password with a simple HTML form. The HTML form post the username and password to a servlet I have. The servlet verifies the username and password by querying the database where username and the MD5 of the password match. If it returns a row, then the servlet redirects the user to a control panel. Otherwise, the servlet sends the error to the login page. The control panel consist of various possible AJAX calls to servlets that manipulate things in the MySQL database. My Question: Is there a way to store the username and password in a way where other servlets have this information without having to tell them (post/get) and validate the information every time?
-
Answer:
Sorry, wish I could help you with your problem. Have a happy holiday though! :)
Bob at Yahoo! Answers Visit the source
Related Q & A:
- How to make SSH connection between servers using public-key authentication?Best solution by Server Fault
- How to proceed after successful authentication?Best solution by Stack Overflow
- Is ClientLogin active again for Google authentication?Best solution by developers.google.com
- How to pass the value from the javascript to servlet?Best solution by Stack Overflow
- How to remove your question from yahoo question/answers?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.