12.02.2013 Views

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Single Sign-on<br />

If <strong>ChatSpace</strong> is accessed through a web site that requires a log on, you can<br />

configure <strong>ChatSpace</strong> for a single sign-on, so that your users do not have to log<br />

on a second time just to get to <strong>ChatSpace</strong>. See the Single Sign-on section of<br />

the Web Builder’s Guide for details.<br />

Web <strong>Server</strong> Variables<br />

<strong>ChatSpace</strong> comes <strong>with</strong> a built-in Web server, which allows your chat server to<br />

be available on the World Wide Web <strong>with</strong>out having to install additional<br />

software.<br />

<strong>ChatSpace</strong>’s Web <strong>Server</strong> provides unique features that allow interaction <strong>with</strong><br />

the chat server component of the product. The most useful feature is the Web<br />

<strong>Server</strong> Variable Facility. Web <strong>Server</strong> Variables are placeholders in the<br />

HTML which the web server automatically substitutes <strong>with</strong> custom values.<br />

Any string of HTML using a percent sign in the front and a percent sign at<br />

the end is treated as a Web <strong>Server</strong> Variable. Two sources are used for<br />

substitution values:<br />

The variables on the URL.<br />

Built-in Variables known to the server.<br />

The following example illustrates the basic use of <strong>ChatSpace</strong> Web <strong>Server</strong><br />

Variables. The example is a front-end page that collects the member’s<br />

nickname, desired room, and a (decorative) title for the page. Once collected,<br />

the information is entered onto a page containing the <strong>ChatSpace</strong> Java Client,<br />

and the member enters the chatroom.<br />

The following code illustrates the HTML page used to collect the information<br />

and pass it to the second page, which signs the member onto the <strong>ChatSpace</strong><br />

server.<br />

66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!