hmm, never been made to check it there. You can try adding an UpdateFromCache() in there, but I'm not sure what the consequences are going to be (I don't think this will ever be cleared for example).
In a future version of ABM, I could maybe expose the UserAgent parser in B4J so you could do Page.CheckDevice(req as ServletRequest).
Would return a string like this that you could parse:
Dim device As String=ws.UpgradeRequest.GetHeader("USER-AGENT")
If device.IndexOf("Macintosh")>-1 Or device.IndexOf("Windows NT")>-1 then
log("computer")
You will not catch every desktop with that (linux, other windows versions etc). There is no perfect solution finding out on which device you are unfortunately.
The trick used in ABM is actually determine if it is a phone or tablet. If neither are true, then it is a desktop.