Results 1 to 2 of 2
  1. #1
    DJSKYLINE is offline Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    0

    Default Login UserProfile Help

    Hi Everyone,
    I am looking for some help on the following issue.

    I am using JSP with SQL Server. (I have set up a connection pool already)

    So basically, I want the users to register, then login so they have an account so to speak.
    I can do the register part, by inserting their login details into the database table.

    However when they login, I want there to be some kind of userprofile bean associated with their session so I can use it in pages.

    How can I set this up?

    Thanks

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,002
    Rep Power
    20

    Default

    Create it?
    And when they login (via a login servlet, rather than code in a JSP) you instantiate your login bean with whatever data you need from the database. Stick that in the session.

Similar Threads

  1. login.jsp
    By roo7 in forum Enterprise JavaBeans (EJB)
    Replies: 5
    Last Post: 12-02-2008, 03:58 PM
  2. login page
    By keerthi_y19 in forum New To Java
    Replies: 9
    Last Post: 08-06-2008, 11:58 AM
  3. Login page
    By banie in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-03-2008, 02:05 PM
  4. Replies: 0
    Last Post: 06-25-2008, 12:41 PM
  5. problems with Login
    By Peter in forum Java Servlet
    Replies: 2
    Last Post: 06-12-2007, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •