Solved

Form processing in ASP

Posted on 2014-12-04
14
173 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 33

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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 58

Expert Comment

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

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 33

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
 

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 33

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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