Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks

  

PreviousPrevious NextNext


Tanny O'Haley 10.Apr.03 06:19 PM a Web browser
Sametime Developers Toolkit 3.0 Windows NT/2000


I have a page that I call from a page that lists the user on the page using writeSametimeLink() function. The first time the page loads I can see the applet start and the links change their status.

If I close the window, wait 5 minutes, then reopen the page the links don't change from offline status for up to 40 seconds. This confuses the users who think that the names are not online. They then close the window without initiating a chat. Is there any way to tell the applet to look to see if the names are online quicker?

It appears if the applet is running without any load time. I am trapping the STLinksAppletStarted() and STLinksLoggedIn() and they are firing. If the user presses <Ctrl-F5> to hard reload the page, the link status changes almost immediately. Here's my code.

<html>
<head>
<title>Sametime Users in a message</title>
<LINK REL=STYLESHEET HREF="<CODEBASE>/stlinks.css" TYPE="text/css">
<SCRIPT src="<CODEBASE>/stlinks.js"></SCRIPT>
<SCRIPT>

function STLinksAppletStarted() {
AppletStatus.innerHTML = "Sametime started. If you are still waiting after 10 seconds to be logged in, press &lt;ctrl-F5&gt; to re-start.";
}

function STLinksLoggedIn(myUserId, myUserName) {
AppletStatus.innerHTML = myUserName + " logged into Sametime. If your name doesn't appear green after 10 seconds, press &lt;ctrl-F5&gt; to re-start.";
}

setSTLinksURL("<CODEBASE>");
window.focus();
</script>
</head>

<body bgcolor="white">
<script>writeSametimeLink("NAME1");</script><br>
<script>writeSametimeLink("NAME2");</script><br>
<script>writeSametimeLink("NAME3");</script><br>
<script>writeSametimeLink("NAME4");</script><br>
<script>writeSametimeLink("NAME...");</script><br>
<p>
<hr color=black>
<div id=AppletStatus style="padding: 10px;">Waiting for Sametime to start. If you are still waiting after 10 seconds press &lt;ctrl-F5&gt; to start.</div>
<div align=center><input type=button onclick="window.close();" value="Close"></div>
</p>
<script>
writeSTLinksApplet("<USERNAME>", "<USERPASSWORD>", false)
</script>
</body>
</html>






Delay displaying status after reloa... (Tanny O'Haley 10.Apr.03)
. . RE: Delay displaying status after r... (Ken Benjamin 11.Apr.03)
. . . . RE: Delay displaying status after r... (Tanny O'Haley 23.Apr.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite