UniverseUniversity


Home Projects Jobs Clientele Contact

uu


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

login stored procedure



It would be nice to change login stored procedure
in a way that would let it indicate login failure
via return value. This would allow to differentiate
between login failure and database error conditions
in UuServlet code. As of now, failure to connect to
database is treated as login failure, which isn't
right.

As a workaround, I'm now checking for the error string
in exception, but that feels ugly.

   Ilya.


Authoright © Total Knowledge: 2001-2008