user and admin interface

Discussion in 'ASP' started by danisimo, Jun 19, 2009.

  1. danisimo

    danisimo New Member

    Joined:
    Jun 19, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    I would like to create a login ASP page that checks if a user is an administrator or a normal user and based on that it provides two interfaces one for the administrator and one for the user. Can I do this in ASP? what mechanism I can use to implement this?:shy:

    thanks
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Check if the user is an admin or not and then redirect him with to the page with more priviledges
     
  3. danisimo

    danisimo New Member

    Joined:
    Jun 19, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Ok
    I forgot to mention that this is done at a company level where the login user name and password are Active directory based. Do that create a problem?
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    If you can detect the privileges I am sure it should not create problem no matter what is the implementation basis.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice