Solved

Click on hyperlink on different website

Posted on 2014-09-12
1
252 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
1 Comment
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now