Solved

Form processing in ASP

Posted on 2014-12-04
14
170 Views
Last Modified: 2014-12-04
Hi,

I have a client who has a site developed in ASP.  I maintain textual changes to it but not the ASP aspects.  He has a page that collects email addresses but doesn't know what happens to them and asked me to look in to it.  I know nothing about ASP.  Coldfusion, yes.  But not ASP.

Can anyone offer any insight?  I attached a text version of the forms page.

Much appreciated.

--Ben
0
Comment
Question by:Ben Conner
  • 6
  • 4
  • 4
14 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40481368
No attachment
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 40481403
it would be good to attach the form page code, as well as whatever page it posts its data to (this can usually be found in the form ACTION attribute). my guess is the form either saves them to a database or sends out some email to those addresses
0
 

Author Comment

by:Ben Conner
ID: 40481413
Hi Monty,

It appears to point to itself in the action= parameter.  I just captured the generated code and attached it to this reply.  I don't know where to start to find out what it does.

--Ben
0
 
LVL 58

Expert Comment

by:Gary
ID: 40481416
Still no attachment.
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 40481418
that just means it's posting to itself, that's normal.

still no attachment....

also, we'll need the original code file to see what's going on. giving us the generated html file won't show us the server side code going on
0
 

Author Comment

by:Ben Conner
ID: 40481484
Ok, let's try this again... :)

--Ben
formpage.txt
registeruserscollectinfo.txt
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 40481492
you'll need to provide us with the registerUsersCollectInfo.aspx.cs file as this is for .NET and not classic asp (big difference between the two)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Ben Conner
ID: 40481548
Found it.

--Ben
0
 

Author Comment

by:Ben Conner
ID: 40481551
Ok, one more time...

--Ben
registerUsersCollectInfo.aspx.cs.txt
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40481557
It is being stored in the database.

Where exactly? You will have to check the stored procedure addUser
0
 

Author Comment

by:Ben Conner
ID: 40481567
Ah ok.  I do have a copy of their DB, so I can track that down.

Thanks much!

--Ben
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 40481568
does a little more than that :)

upon submission, it checks to see if an email has been entered in, if not, it displays a message saying no email found. it then checks to see if the email address has been entered and saved previously, if it has, it tells the user that they've already registered.

if an email address was entered in AND it's unique, it then saves the info, (email and date registered), and then sends the user a thank you for registering message
0
 
LVL 58

Expert Comment

by:Gary
ID: 40481569
He only wanted to know where the emails were stored if it all.
0
 

Author Comment

by:Ben Conner
ID: 40481590
True; the client wondered how to tap in to that list if it has been getting collected.

--Ben
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 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