Missing stuff from Session object

Seems like we have stuff now missing from the Session object.

These are coming back null, and I was using them. What gives ?

Session.ClientComputerName
Session.ClientTerminalID

I need them to fill out the “workstationId” for the system monitor, which is not actually a workstation id.

Wait, you are not using smart client anymore :rofl:?

Of course I am.

I may be in luck, looks like there is some tom foolery going on behind the scenes.

Previously, I could use $"{Session.ClientComputerName} {Session.ClientTerminalID}" or $"web_{Session.UserID}"

as the client system monitor would query for both.

Now the system monitor doesn’t show it querying for the “web_” one, but those rows are coming back in the trace. So I’m probably ok for now, but what about later?!

from browser you cannot get anything except web_{userID}, it does not know your terminal or client computer name.

Yes, but I’m working with the smart client exclusively.

Those fields being missing are cramping my style.

Not sure why the rows are coming back to the system monitor when it’s only querying for “KLWORKSTA124 3” and not “web_klincecum”, but I guess I’ll take it.

But at some point, it’s probably going to break.

While not automatic, the system seems to remember the last workstation the user selected.

So, if the user is at the same workstation all the time then you’re in luck. If they roam they’ll have to update it when they do.

Unfortunately, while it says “workstationID”, it is not in fact related.

It is the computer name & terminal id.