Object syntax: serverr.varname


The serverr prefix is used to set variables that are accessible both by scripts on the serverside and the clientside, but only writable on the serverside. Clientside scripts are unable to change the value of a serverr variable.

These days, serverr variables are not used often, since variable changes must be sent out to all clients, and a long list of serverr variables can use a lot of bandwidth unnecessarily. However, they are still useful for sending out very small amounts of information that do not change often like the current weather or season.

For server variables that are not readable by the client, see server.


function onCreated()
  serverr.variable = "value";


function onCreated()
{ = serverr.variable;



There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki