Client Workstation from Session ID

Is there a way to get the users workstation from their session id? Trying to work my way from the server to the client.

I am not connecting via the client though to have that information passed. I am writing a query starting at select * from Ice.SessionState

There you have a sessionID and am looking to get back to the client information.

I doubt that the session carries the computer name what’s the end goal? (besides getting the computer name lol)

Sorry, I completely missed that part of the question, so much for multi-tasking today…

You do not want to access the blob cached to the db. Use the Ice.Hosting.SessionCache which the source of all truth Session related:
image

3 Likes

My end goal is to know which PC’s are logged into MES vs Client. We use generic log ins for the cells, but we are finding people are not following the rules. We want to find them and reeducated them. :slight_smile:

2 Likes

Hi,

Did you manage to find an answer to this? I am also looking to log workstation ID that the employee clock in / out of.

thanks

I did not come up with a better solution.

sorry.