KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Recognizing a 4DConnect Request
PRODUCT: 4D | VERSION: 6.7.1 | PLATFORM: Mac & Win
Published On: November 20, 2001
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

When using 4DConnect with 4D WebSTAR V, how does your 4D Code know that the request comes from 4DConnect? The name of the 4D Process will begin with "/4DSSI". The code below is designed to test the presence of that string at the beginning of the process name:

C_STRING(80;$sName)
C_LONGINT($iState;$iTime)
PROCESS PROPERTIES(Current process;$sName;$iState;$iTime)
f_Is4dConnect:=($sName="/4DSSI@")