Client.referrer

Availability

Flash Communication Server MX 1.0.

Usage

clientObject.referrer

Description

Property (read-only); a string whose value is set to the URL of the SWF file or the server in which this connection originated.

Example

The following example defines an onConnect callback function that sends a trace that indicates the origin of the new client when that client connects to the application:

application.onConnect = function(newClient, name){
    trace("New user connected to server from" + newClient.referrer); 
};