> Then if I create a session by using cookies, how do I pass the
> passwords and userid around to each of my servlet's, so that the
> connection to the database can occur?
>
I'd recommend instantiating a User object, which has members like login
and password. Depending on how your system is built, it might also be
more efficient to simply make a connection a member of the User class,
accessed like user.getDataConnection(). This User object can follow
your users around inside their HttpSession.
--
Within C++ is a smaller, cleaner language
struggling to get out.
It's called Java.
Thomas Moore
[EMAIL PROTECTED] Home Account
Software.Engineer [EMAIL PROTECTED]
phone://732.462.1880:268 NJ Patterns Group Home Page
employer://Celwave, RF http://members.home.net/twmoore/cjpg
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html