Accessibility
 
Home > Products > Director > Support > Multiuser
Macromedia Director Support Center - Multiuser
The server logger script

The serverLogger.ls file is a simple server-side script example that keeps a log of the movies that connect to the Macromedia Shockwave Multiuser Server. It is easy to understand and provides a useful example of server-side scripting in action.

By adding the serverLogger.ls file to the Multiuser Server's Scripts folder and adding a reference to it to the server's scriptMap.ls file, you can keep a log file listing any movie that logs in to the server.

Downloads the Winows server_logger.zip(137k)
Downloads the Macintosh server_logger.sea.hqx(137k)

This article covers the following topics:

Referencing serverLogger.ls in the ScriptMap.ls file
Understanding the serverLogger.ls script
Declaring and initializing properties
Calling the on getSysInfo handler
Understanding the on getSysInfo handler

Jay Armstrong

Jay has worked with Director since version 4, including roles in Technical Support, Quality Assurance, and Instructional Media. He has written documentation for Director versions 8, 8.5, and MX.

29 March 2001

multiuser, script, server, server-side

9771