Solved

user form validation trough another user

Posted on 2004-04-20
7
179 Views
Last Modified: 2010-04-07
I'm new at this but i think this is a security question.
i'm using dreamweaver and i'm buildin a portal and i need to do this thing:
a user types some fields in a form to update some records in a database, then he sends a message or a email ou update a fiel in other database, for other user autorize that operation.
he continuos work and wend the autorization cames e click on a link and the pevius form is load with the same fields and if is autorized we can update (the database), if not go to another url

i alredy look in yahoo and and a can´t fiend an answer...
0
Comment
Question by:carlos_lx
  • 3
  • 2
7 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
Comment Utility
It sounds like what you need to do is have a status flag on your record in the databse.

WHen the record is entered it gets status 0
Then an email gets sent to the person who will authorize
That person can authorize - if so set the status to 1 or not authorize - then set status to 2
In either case it sends an email back to person 1 saying a decision was made
The person looks and sees the decision - if it was authorized then you complete it and change the status to 4 - if it was denied then you send them to the other URL.

You need something like ASP PHP Cold Fusion to do this.....

Hope taht helps.
0
 

Author Comment

by:carlos_lx
Comment Utility
ok can you send-me some code in asp... i´m new to preograming in asp i´m at the beginner, the only part that i need is the part of the email... how to make it send and how make it set the flag after the autorization
0
 
LVL 35

Expert Comment

by:mrichmon
Comment Utility
Here are links on how to send emails in ASP :
   
A Beginner's Guide to Sending Email from an ASP Page
http://www.devguru.com/features/tutorials/CDONTS/cdonts.html

ASP Web Based EMail Using Microsoft's CDONTS Tutorial
http://www.webwizguide.info/asp/tutorials/email_using_cdonts_tutorial.asp
0
 

Author Comment

by:carlos_lx
Comment Utility
ok i've think you don´t understand.. i need the code from both tables.. i´m going to explain more detaild my problem..
a user opens a page to update some values of a database... he submit the form to the administrator.. and this operations becomes in a stand by mode for him continue to work in the aplication.. wend the admistrator recives the form he autorize the modification or not and returns it to the user... the user recives the notification and submit it to the database to update data or if it's not autorized deletes the submission...
ok my problem is:
i'm using colldfusion and asp pages
how to send the forr to the administator (for example if it is by mail how to send the variable of control and recive it, and if it is by another form how to do this..), how to put the form in a stand by??? i need some code because i'm newer to programing..
iffffffffffffffffffyou want send the code for my email or the example pages... carlos_lx@msn.com
thanks
0
 
LVL 35

Expert Comment

by:mrichmon
Comment Utility
How are you using cold fusion and ASP pages?

That doesn't really make sense.  Usually you use one ot the other.

You can send the information you need in a URL variable as a link back to the page where you approve the modification.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now