?
Solved

Click on hyperlink on different website

Posted on 2014-09-12
1
Medium Priority
?
273 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 1500 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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
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: …
Suggested Courses

777 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