Method to test if webspeed program is running on PasOE or Cl

Posted by Sofiane Bouziri on 12-Apr-2017 13:45

Hi,

Is there a simple way or a session propertie to detect if i am running on PasOE or classic AppServer/Webspeed ?

Thanks,

Sofiane

Posted by Peter Judge on 12-Apr-2017 13:50

From inside the AVM?
 
SESSION:CLIENT-TYPE – the MULTI-SESSION-AGENT is PASOE only (for all sessions).
 
CLIENT-TYPE attribute values
Type of client
Attribute value
ProVision standard ABL client
4GLCLIENT
WebClient
WEBCLIENT
AppServer agent
APPSERVER
WebSpeed agent
WEBSPEED
Progress Application Server agent
MULTI-SESSION-AGENT
Other special-purpose clients
Unknown value (?)
 
 

All Replies

Posted by Peter Judge on 12-Apr-2017 13:50

From inside the AVM?
 
SESSION:CLIENT-TYPE – the MULTI-SESSION-AGENT is PASOE only (for all sessions).
 
CLIENT-TYPE attribute values
Type of client
Attribute value
ProVision standard ABL client
4GLCLIENT
WebClient
WEBCLIENT
AppServer agent
APPSERVER
WebSpeed agent
WEBSPEED
Progress Application Server agent
MULTI-SESSION-AGENT
Other special-purpose clients
Unknown value (?)
 
 

Posted by Brian K. Maher on 12-Apr-2017 13:50

Hi Sofiane,
 
You can check SESSION:CLIENT-TYPE.
 
It will return one of these:
 

-          4GLCLIENT

-          WEBCLIENT

-          APPSERVER

-          WEBSPEED  <-- Webspeed (obviously <smile>)

-          MULTI-SESSION-AGENT   <-- PasOE

 
Brian

Posted by Sofiane Bouziri on 12-Apr-2017 13:58

Many thanks Brian and Peter !!

This thread is closed