Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > Client class > Client.referrer | |||
Flash Communication Server MX 1.0.
clientObject.referrer
Property (read-only); a string whose value is set to the URL of the SWF file or the server in which this connection originated.
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);
};