ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / WEBDEV Application Server remote control functions / Types of variables
  • Properties specific to WBAdminConnection variables
  • Functions that use WBAdminConnection variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WBAdminConnection type is used to get all the advanced characteristics of a connection on the server. This connection can correspond to a session, an AWP request, a schedule task, etc. The characteristics of this connection can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
wbAuthLogin is WBAdminAuth
wbAuthLogin.ServerAddress = "https://my-server.internal/"
wbAuthLogin.User = "WWW\DATA"
wbAuthLogin.Password = "www"
 
WBConnections is array of WBAdminConnections = WBAdminListConnection(wbAuthLogin)
FOR i = 1 _TO_ WBConnections.Count  
Trace(WBConnections[i].Site)
Trace(DateTimeToString(WBConnections[i].DateTimeStartConnection))
Trace(DurationToString(WBConnections[i].IdleTime, durationCenti))
END
Properties

Properties specific to WBAdminConnection variables

The following properties can be used to handle a connection on the server:
Property nameType usedEffect
IPAddressCharacter stringIP address associated with the connection.
DateTimeStartConnectionDate-timeDate and time the connection was created.
IdentifierIntegerConnection identifier. To be used for a disconnection request, for example.
IdleTimeDurationTime the connection has been idle.
SiteCharacter string Name of the site or web service used by the connection.
TypeIntegerType of connection.
Remarks

Functions that use WBAdminConnection variables

WBAdminDisconnectDeletes a connection from a WEBDEV Application Server.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/02/2023

Send a report | Local help