Is it possible to query
how many SAP GUI modes
(sessions) the user has currently opened up?
This is possible as of GuiXT version 2010 Q1 1: use the system variable
V[_sessioncount].