Dynamically loading menu based on user login.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Dynamically loading menu based on user login.

  1. #1
    raj74 Guest

    Dynamically loading menu based on user login.


    hi guys,

    I would like to load menu based on user login. how can i do this.Should i
    have a different copy of menu for each user?

    thanks in advance
    raj

  2. #2
    Itai Raz Guest

    Re: Dynamically loading menu based on user login.

    One way would be to keep your user info in a database. This will include
    some form of menu definition, which you will use to create the menu on the
    fly.


    --itai

    "raj74" <rwave74@yahoo.com> wrote in message
    news:3e2110d8$1@tnews.web.devx.com...
    >
    > hi guys,
    >
    > I would like to load menu based on user login. how can i do this.Should i
    > have a different copy of menu for each user?
    >
    > thanks in advance
    > raj




  3. #3
    rajib Guest

    Re: Dynamically loading menu based on user login.


    Hi,

    you can use XSL for the same, maintain the diffrent set of menu for different
    type of users in XML file. Parse both the file to generate menu runtime.

    "Itai Raz" <notreadingthis@hotmail.com> wrote:
    >One way would be to keep your user info in a database. This will include
    >some form of menu definition, which you will use to create the menu on the
    >fly.
    >
    >
    >--itai
    >
    >"raj74" <rwave74@yahoo.com> wrote in message
    >news:3e2110d8$1@tnews.web.devx.com...
    >>
    >> hi guys,
    >>
    >> I would like to load menu based on user login. how can i do this.Should

    i
    >> have a different copy of menu for each user?
    >>
    >> thanks in advance
    >> raj

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center