Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Database ASP.NET form approval process

Posted on 2005-03-04
Medium Priority
Last Modified: 2006-11-17
Hi there,

I have a question I am not sure what category it belongs since it touches ASP.NET, SQL2000 and document routing concepts.
I have an ASP.NET application that has a SQL2000 database as a back end.
This ASP.NET application has several forms that need to be filled in (each form is based on a table in the database) and then they need to be approved by 3 gatekeepers (3 different employees of our organization).
I am not sure what is the correct way to implement the approval process.
(One idea I have is to have a table for each form with the log in ID of the people that need to approve it and then based on the users log in ID to allow only to the above users to click on a button.... but this idea seems to "small approach" based on the fact that in the near future we are going to have dozens of forms that will need to be approved).
Any ideas of what is the proper approach of database generated documents approval process would be very much appreciated.

Thank you,

Question by:ronchonchon
  • 2
  • 2
LVL 15

Accepted Solution

Ralf Klatt earned 1000 total points
ID: 13464026

It's never easy to imagine what else could be necessary for an approval process in a company you do not really know about ... an "interesting" article (at least!) can be found at:


Best regards,

Assisted Solution

margant earned 1000 total points
ID: 13464680
Well how about grouping users into an approval group, so for example one database design could be:

AGID PageID ApprovedOrNot

ApprovalGroupMembersAndState (linking table)
AGID UserID ApprovedOrNot

To use these tables you will have all required people approving which will add ApprovedOrNot into ApprovalGroupMembersAndState and once all of them approved you will change ApprovedOrNot in the ApprovalGroup table to true.

You may also choose to add a role-based authentication based on this approval group scenario or something of this sort. For more info on that please check out

Hope that helps,
LVL 15

Expert Comment

by:Ralf Klatt
ID: 13645425

I think that http://www.informit.com/articles/article.asp?p=171030&seqNum=8&rl=1 gave at least the same good overview to this question as http://www.codeproject.com/aspnet/formsroleauth.asp did ... if the provided answers are not to be deleted, they should at least be split!

Best regards,

Expert Comment

ID: 13649538
pinalDave, Raisor
I completely agree about a split, i think Raisor's link very informative, i learned quite a bit from it myself :)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question