onRandomKey()

Availability:

SmartFoxServer Pro

Usage:

smartFox.onRandomKey(theKey <String>)

Description:

The event is fired in response to a getRandomKey() request. The server responds sending the unique string key.
For more details please check the Secure Login tutorial.

Parameters:

theKey   the unique random string key

Returns:

nothing

Example:

on onRandomKey me, theKey
	put("Here's the secret key: " & theKey)
end

See also: