Greg Gum
Greg Gum

Reputation: 37909

How to communicate between two completely different sites

On an intranet, sales reps use two apps, a dialer for making phone calls, and an order entry system.

They both work, but they are totally different systems and servers. The dialer (vici dial) is on a Linux server, the order entry system is a single page app running on asp.net on Windows.

What is needed is a way to pass an id from the dialer, over to the order entry system so that the order entry system knows the id of the lead that converted to a sales.

Have thought of: putting the ID in a cookie on the Sales Rep's machine, and from the Order Entry System, have a timer that continually looks for the presence of that cookie, and if so, starts up a new order with that data.

Is that possible? Or is there some other way to do it? Am willing to accept kludge/workarounds at this point.

Upvotes: 1

Views: 68

Answers (1)

aw04
aw04

Reputation: 11177

You can pass the id as a query string in the url. Depending on when you want the app to open, you can open it directly or perhaps save/update a shortcut on a users desktop.

whatever.org?id=123

You can then retrieve the query string value on page load via javascript or asp.net and do as you wish.

Upvotes: 1

Related Questions