cfclient.connection.getType

Getting the type of connection

You can get the connection type of the device using the getType() function.

Method summary

 

getType()

  • returns – Number
  • params
    • None

For instance,

<cfset conType = cfclient.connection.getType()>

The connection types returned by these functions will be one of the following constants:

  • cfclient.connection.UNKNOWN 
  • cfclient.connection.ETHERNET
  • cfclient.connection.WIFI
  • cfclient.connection.CELL_2G
  • cfclient.connection.CELL_3G
  • cfclient.connection.CELL_4G
  • cfclient.connection.NONE

 Adobe

Get help faster and easier

New user?