Lasso Soft Inc. > Home

[ client_type ]

Method

[Client_Type] returns the type of browser used by the current client.

This information is retrieved from the HTTP request and can be modified by the client in some browsers.

[Client_Type] is provided as backwards compatibility. For new Lasso 9 projects it we recommended using [client_browser]

  • Syntax
Client_Type
Examples
  • Beginner

To check if the current client is a Web crawler:

Use the [Client_Type] method. Many Web crawlers identify themselves by using the word 'Crawler' in their type.

Code

Client_Type >> 'Crawler' ? 'Hello crawler!'

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft