Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to retrieve a resulting html source?

Status
Not open for further replies.

11251995

Programmer
May 18, 2005
12
US
My program can redirect users to a secure site. Then users will:
1)log in to this secure site;
2)submit a form;
3) get a results page.

I need to implement a function to store this result page in a database automatically. I have no idea how to implement this. Any suggestions will be highly appreciated.
 
Is this related to this thread : thread269-1067569 ?

If so, I'll ask the question again - why would you need to do this ?

--------------------------------------------------
Free Database Connection Pooling Software
 
The reason I am doing this is because we need constantly enter user info to another secure website and by clicking the submit button and get a result page. I’d like to save this result page (contain lots of info for this user) to my DB. So, I do not need enter them again and again to that website to view his/her result info. I can just fetch them from my DB.

Thanks for your help.
 
But you don't submit html to a website - thats what the website gives back to you. So I fail to understand why you would want to save the html from a website to your database ...

It sounds like you have a very strange design pattern here.

Perhaps you could start at the beginning ...

--------------------------------------------------
Free Database Connection Pooling Software
 
I save the result html from a website to my database is to avoid the staff to enter the user info(like user name, user ssn, user birthday etc.) again and again to that website and by clicking the submit and then get what I need (user current insurance information, confirmation number etc.).
 
Why don't you just have a "user" table in your database, and save the data from the request parameters into that table, rather than messing around with the html output ?

Then you can access/update the information easily.

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top