Solved

Click on hyperlink on different website

Posted on 2014-09-12
1
268 Views
Last Modified: 2014-09-29
I am building a website to interface with our software. However it currently has a dreadful cloud based website that I need to utilize to submit information to our software.

I know I can use the POST in order to login to the site and hopefully fill in the blanks and submit it . However one issue I have.

When you login it gives you hyperlinks for different accounts that are available.

Is there a way to have my website click a hyperlink based on description and load the next page for me to POST data into the fields?

I am very curious some code samples will be nice as well.

WebsiteA(my website) -->logs into WebsiteB(other vendor)-->WebsiteA clicks hyperlink for property that has 2000 bob st. in its description.

WebsiteB opens the file and Website A POSTS data to that site.
0
Comment
Question by:desiredforsome
[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
1 Comment
 
LVL 43

Accepted Solution

by:
Rob earned 500 total points
ID: 40320474
Firstly I'm not a .NET programmer so I can't give you any definitive code samples but I can guide you through how you need to do this.

IMHO, the best way to do this is add a "middle man" on your server that takes requests from your clients on Website A and does the required actions on Website B and returns the results to Website A.

Due to security restrictions, your clients cannot access Website B from A directly and require this middle man (don't even go there with iframes).

The forms on Website B will have an associated URL that the data is posted to.  By opening your developer tools and having the Network tab open, you'll see what data is sent when submitting whatever form on Website B.

So now you have a URL and the required data that needs to be sent to website B to perform the required action.

On your server (Website A) you now send and receive data to those URLs and pass it back to your clients on A.  PHP uses CuRL to achieve this but I'm pretty sure .NET has inbuilt tools that can load / post data from external sites.

Your clients need only to fill out the minimum fields that in conjunction with other required data and sent onward to Website B and back again via your server (the middle man)
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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