WHERE UserName="+username+"&&"+"Password="+password;
Shouldn't that be:
The result should look like this:
Regards, Jan
(have a look at PreparedStatement. It makes your code cleaner.)
(and have a look at container managed security. Your server will have user authentication functionality on board.)
[ May 03, 2007: Message edited by: Jan Cumps ]