One way to do it is to use a session attribute to mark them as "logged in" and put a test in each page that redirects them to the login page if said attribute is not marked "logged in". I'm sure there are lots of alternatives with code in the archive or on the web if you search for "JSP authentication".
Greg -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Pat Griffin Sent: Thursday, September 26, 2002 3:31 PM To: [EMAIL PROTECTED] Subject: Password Storage Hi, Any good information on how to store passwords across JSPs? My application consists of different JSPs, all of which require ongoing connection to a database. Obviously I dont' want the user to keep entering the info. Any help? Thanks. - Pat =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com