Looks like I am essentially asking the same question as this thread. @nminchin did you ever find a solution on this? I haven't figured out how to get the PerspectiveSessionMonitor object in a gateway script, either in a timer script or gateway message handler...