1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    Likes Received:
    364
    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,276
    Likes Received:
    364
    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