Menu that change options from user type in a ASP session variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • athanazio
    New Member
    • Jan 2009
    • 1

    Menu that change options from user type in a ASP session variable

    I developing a ASP webpage where the users login, then, this page creates a ASP session variable that store's the user profile and the page redirects the user to a "welcome page".
    In this "welcome page" need to have a javascript menu that change the options based on the user profile (stored on that ASP session variable), for exemple:
    If the user profile is ADMIN, the menu shows the following options: User Management, Profile Management, View Logs, etc
    If the profile is USER, the menu shows: View Statistics, Create Athlete, etc.

    So, please, someone tell me what i have to do with the javascript (like a tutorial) or post a sample code

    Thanks
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Hi, welcome to Bytes!

    It'd make a lot more sense to use ASP to generate the menus. In any case, can you post the code that you've managed so far.

    Comment

    Working...