DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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

    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links