Results 1 to 2 of 2

Thread: login page for multiple users

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Answers
    2

    login page for multiple users

    Hi,

    I have to create a login page for multiple users. for ex. if user1 logs in he should be able to access only his pages, when user2 logs in he should be able to access his pages.
    i have created a login page and written the code for that but that's not a correct method.
    please let me know the best and the easiest way to do this.
    for my application we have multiple users so i have used sql database to store the login details of the different users.

    all answers are welcome


  2. #2

    Re: login page for multiple users

    In the database,along with id and password,you can also store role information and depending on the role of the user,he can be directed to a appropriate page.
    This method should be fine if you have 2-3 roles like user,admin and moderator.

    Hope,it makes sense to you.
    Thanks.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact