Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 where I can find some ASP code like this..
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

chinh10
Junior Member

125 Posts

Posted - 29 April 2001 :  02:54:35  Show Profile
This is the ASP code I am looking for:
When somebody fill out a form then submit, a database (Access or SQL) will record that information and send a email with a link which contents that info to a Moderator and the person submitted, that Moderator will click on the link and will see all of that info again to verify then click on another Submit button to send that info to Administrator to verify again before accept that.
That meant I need to have 2 levels of verification before the accepting.

Anybody knows where I can find that code, or I will pay it from someone does that for me.
Thanks in advance!

MorningZ
Junior Member

USA
169 Posts

Posted - 29 April 2001 :  07:48:39  Show Profile  Visit MorningZ's Homepage  Send MorningZ an AOL message
what kinda email are you going to be using???

CDONTS ?? ASPMail?? Some other??

Do you already have the form/database write done???

here's what you should look to do

-User fills form ( let's say its fillform.asp )
-Form gets submitted, you write the info to database
-I am assuming you use an autonumber primary key, so do a quick select statement right after the write and grab the highest primary key ( this'll be your newest signup )
-( let's assume you use profile.asp to show a person's profile )
-right after you get the ID build this:
   strLinkToMember = "http://" & Request.ServerVariables("HTTP_HOST") & "/profile.asp?id=" & rst("PrimaryID")
-Mail this string to admin@blah.com using what is available to you ( CDONTS is commonly used/available )
-On "profile.asp" have a block on the page wrapped inside
   If ( i am an Admin ) and ( Verfied Flag isnt checked ) then
      -- insert link to check that flag
   end if

I you need the actual ASP written, give me more info ( what you are capturing, email service type, etc ), but what i just write up should be more than enough

-Steve




Go to Top of Page

chinh10
Junior Member

125 Posts

Posted - 30 April 2001 :  00:54:42  Show Profile
Hi MorningZ,

Sorry, I already sent to your email (morningz@morningz.com) 2 files,please take a look.
1: a form , 1: asp's confirm page.
I am using JMail.SMTPMail but I can change to CDONT w/o any problem (I think)

The form I sent you, only send an email to myname@mycompany.com only, But I really want its data will record to a database (MS Access,..) and I (myname@mycompany.com) can view that data when I click on the link in the email that was sent to me, it also send an first confirm email will send back to the person who did fill that form.

And when I click on the link that's showing the info they submit, it will content another "SUBMIT" button that I can submit 1 more time and send to another person (ie: my mom) to make the decision to except or decline that info

When my mom receive the email from me, she will also receive the link (when she click on the link it will showing all that info again to let her verify at the last time).

Please help me, I am not an ASP expert, and just started learning it.

Thank you very much,






Edited by - chinh10 on 30 April 2001 00:55:53
Go to Top of Page

mafifi
Junior Member

USA
308 Posts

Posted - 30 April 2001 :  09:56:34  Show Profile  Send mafifi an ICQ Message
I found a sample code in "Instant ASP Scripts" book by "Greg Buczek" that will send the information to another person for approval. However, the sample code does not address the second verivication (Administrator), as in "chinh10" question. That is why I am very much interested in finding the answer to this question. Thanks.

Mo
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07