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


Vladimir Mitev 26.Jul.11 08:03 AM a Web browser
Applications development 8.5.1 All Platforms


Hi guys,

I'm integrating Sametime chat into a web application using the STProxy API. The web application can be opened in multiple tabs and each tab will be running a chat client.
In order to login the loginByToken method is used.

When opening two tabs in Firefox everything is working fine. Only the first tab is sending requests to pull the current status:
http://<st_proxy_url>:9080/stwebapi/RTCServlet?format=json&dojo.preventCache=...
and all tabs receive the chat messages.

When opening two tabs in Chrome from a link from the first tab ("Open link in new tab") again everything is working.

However when opening an empty new tab in Chrome and then navigating to the web application the following occurs:
1) A popup flashes on the screen
2) Each tab starts opening requests to the STProxy
3) Some messages are received in the first and others in the second tab
When investigating the issue I saw that upon login in the second tab the following function is called stproxy.getHeadUpdater().
It tries to open the first tab and read its stproxy object. However although the headUpdaterWindowName cookie is correct the old tab could not be reached thus a popup flashes and the current tab becomes the headupdater. Which on the other hand messes somehow the first tab.
The reason for this behavior seems to be in the fact that when a new empty tab is opened in Chrome it is started in a separate process. When a tab is opened from a link it is started in the old process. In order to check this assumption I stared Chrome with the option --process-per-site and all worked fine.
Still this seems more of a work-around rather than a real fix.

Please share your thoughts. Is there a way to fix the client or the only solution is the STProxy API to be fixed?

Thanks a lot,
Vladimir






Chrome and multi tabs or is there a... (Vladimir Mitev 26.Jul.11)
. . RE: Chrome and multi tabs or is the... (Carl Tyler 26.Jul.11)
. . . . RE: Chrome and multi tabs or is the... (Vladimir Mitev 26.Jul.11)
. . . . . . I don't know of any plans (Carl Tyler 26.Jul.11)
. . . . . . . . RE: I don't know of any plans (Brendan P Murra... 1.Sep.11)





  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