Solved

user form validation trough another user

Posted on 2004-04-20
7
183 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

895 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

14 Experts available now in Live!

Get 1:1 Help Now