Solved

user form validation trough another user

Posted on 2004-04-20
7
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
ID: 10873499
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
ID: 10875991
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
ID: 10879616
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
ID: 10897507
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
ID: 10900390
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

726 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