try other way to pass the params like session tracking support of the JSDK
2.0 or maybe using Cookies (that's the classical way I think) other way?
hidden form fields
BCs. Giovanni Az�a Garc�a
Bachelor in Computer Science
Banking and Economic Information Center
Central Bank of Cuba
e-mail: [EMAIL PROTECTED]
-----Original Message-----
From: Mike Francis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 23, 1999 1:51 PM
To: [EMAIL PROTECTED]
Subject: User login
I am new to the JSP scene. Any help with this problem would be greatly
appreciated.
I've written a bean that handles a database connection and the queries to
the
database. I use a form to allow the user to type in their username and
password.
When they hit the "login" button to submit the form the next page sets the
username
and password in the database bean. However this page shows the parameters
in the URL
in the browsers "Location" window.
http://xwing.myriad.com:8080/mikef/jsp/num/studies.jsp?username=mike&passwor
d=mypassword
If someone looks over my shoulder as I log in they would see my password.
Is there a
slicker way to allow a user to login.
I thought I could use javascript to setUser and setPassword in my database
bean in
the "onclick" event of the form's login button, but I don't know how to
reference the
bean from javascript.
Thanks in advance for your help.
mike
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html