Chapter 9. Sametime Links 249
Log the visitor into Sametime
To log the user into Sametime, we need to use the writeSTLinksApplet function,
which is documented in the Sametime Links 3.1 Toolkit Developer's Guide and
Reference. For our sample, customers are going to be logged in as anonymous
users, so we need to add the following into the HTML of our page:
<SCRIPT>
writeSTLinksApplet ("","",false);
</SCRIPT>
What this does is log the customer in as anonymous, where their names take the
form of Userxxx/Guest, where xxx is an number that increments by one for each
visitor. There are ways to set the name for the visitor, but we will not cover that
here; refer to the Sametime Links 3.1 Toolkit Developer's Guide and Reference
for more details.
Move the ...