Skip to main content

In AcuToWeb, how to recognize a returning device/workstation

  • January 15, 2019
  • 1 reply
  • 0 views

Robert Redekop

Hi All.

 

What is the recommended method for identifying a returning workstation, in acutoweb?

There is ACCEPT FROM TERMINAL-INFO, but the CLIENT info is about the generic device, no mac address or anything. So if 2 people have identical devices, you cannot tell which is which.

Web browsers normally use cookies to achieve this - can we do that with AcuToWeb?  Can we do it with the browser control?  Or is there a better way?  (I've not used the browser control much, but what I've read hasn't mentioned setting cookies - I'm guessing there's a way to open the browser control, pointing it at a server-side resource, which will send the cookie - then later open it pointed at a get-cookie page)

1 reply

Stephen Hjerpe
  • Participating Frequently
  • January 15, 2019

Hi All.

 

What is the recommended method for identifying a returning workstation, in acutoweb?

There is ACCEPT FROM TERMINAL-INFO, but the CLIENT info is about the generic device, no mac address or anything. So if 2 people have identical devices, you cannot tell which is which.

Web browsers normally use cookies to achieve this - can we do that with AcuToWeb?  Can we do it with the browser control?  Or is there a better way?  (I've not used the browser control much, but what I've read hasn't mentioned setting cookies - I'm guessing there's a way to open the browser control, pointing it at a server-side resource, which will send the cookie - then later open it pointed at a get-cookie page)

TERMINAL-ABILITIES in acucobol.def has these fields:
03 ATW-BROWSER-NAME PIC X(30).
03 ATW-BROWSER-VERSION PIC X(10).
03 ATW-ENGINE-NAME PIC X(30).
03 ATW-ENGINE-VERSION PIC X(10).
03 ATW-CLIENT-OS-NAME PIC X(30).
03 ATW-CLIENT-OS-VERSION PIC X(10).
03 ATW-CLIENT-DEVICE-TYPE PIC X(30).
03 ATW-CLIENT-DEVICE-VENDOR PIC X(30).
03 ATW-CLIENT-DEVICE-MODEL PIC X(30).