1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,293
    Likes Received:
    365
    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,293
    Likes Received:
    365
    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