With static pages there is no way to know which page the user is on. If they are connecting to a unique websocket on each page then that is one way to know.
If you are using handlers you can use class name to determine what page they are on, I use this in my application.
'Handler class
Sub Class_Globals
Dim ClassName As String
End Sub
Public Sub Initialize
Dim jo As JavaObject = Me
ClassName = jo.RunMethod("getClass",Null)
ClassName = ClassName.SubString(ClassName.LastIndexOf(".")+1).ToLowerCase
End Sub