Display XML Menu Items Based On User
page 1 of 7
Published: 27 Jun 2007
Abstract
In this article you will learn how to display menu items based on user name from an XML file without using ASP.NET membership. The author also demonstrates how to secure sub-directories by user name.
by Andrew Mooney
Feedback
Average Rating: 
Views (Total / Last 10 Days): 34052/ 41

Introduction

Displaying a menu that shows items based on the current user can be done easily by using roles in membership. In ASP.NET 2.0 membership and login controls make it easy to setup and maintain users for a web site. However, membership comes with some overhead. For example, a database (usually SQL Server) is required to store user information. Another issue with membership is deployment since all ASP.NET applications can use the same database.

The purpose of this article is to demonstrate how to display menu items based on the user from an XML file without using ASP.NET membership. This has limitations, but very little overhead.

Figure 1 - This is a screenshot of the sample menu application


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-18 7:52:15 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search