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?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online