Solved

Form processing in ASP

Posted on 2014-12-04
14
175 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
[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
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

687 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