Link to home
Start Free TrialLog in
Avatar of Ben Conner
Ben ConnerFlag for United States of America

asked on

Form processing in ASP

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
Avatar of Gary
Gary
Flag of Ireland image

No attachment
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
Avatar of Ben Conner

ASKER

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
Still no attachment.
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
Ok, let's try this again... :)

--Ben
formpage.txt
registeruserscollectinfo.txt
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)
Found it.

--Ben
Ok, one more time...

--Ben
registerUsersCollectInfo.aspx.cs.txt
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ah ok.  I do have a copy of their DB, so I can track that down.

Thanks much!

--Ben
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
He only wanted to know where the emails were stored if it all.
True; the client wondered how to tap in to that list if it has been getting collected.

--Ben