Board index » Visual Studio » Client-side <-> server-side thing...

Client-side <-> server-side thing...

Visual Studio247
hello



How to do this: a client connects to my Web site (ASP) and pushes a button (client-side, javascript) that tells the SERVER to open a modem connection (server-side .dll) to a remote modem. The computer having the remote modem is a industrial PC collecting data and upon request it should send data back to the SERVER, and the data should again be shown in the client-side textfield, for example



How to launch a server-side method (.dll) from a client-side javascript, and when data is received through the modem in the SERVER, how to show that data again in the client-side



Thanks in advance for any comments



Mike


-
 

Re:Client-side <-> server-side thing...

Mike wrote:

Quote
hello,



How to do this: a client connects to my Web site (ASP) and pushes a

button (client-side, javascript) that tells the SERVER to open a

modem connection (server-side .dll) to a remote modem. The computer

having the remote modem is a industrial PC collecting data and upon

request it should send data back to the SERVER, and the data should

again be shown in the client-side textfield, for example.



How to launch a server-side method (.dll) from a client-side

javascript, and when data is received through the modem in the

SERVER, how to show that data again in the client-side?



Thanks in advance for any comments!



Mike



Use XMLHTTP in your client-side code to post data to a server-side page and

receive the response from that page.



I use this technique in my dynamic listbox demo which is available here:

http://www.thrasherwebdesign.com/index.asp?pi" rel="nofollow" target="_blank">www.thrasherwebdesign.com/index.asp=links&hp=links.asp



HTH,

Bob Barrows

--

Microsoft MVP -- ASP/ASP.NET

Please reply to the newsgroup. The email account listed in my From

header is my spam trap, so I don't check it very often. You will get a

quicker response by posting to the newsgroup.





-