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


Ivo Rahov 2.May.11 07:20 AM a Web browser
Applications development 8.5.1 All Platforms


I'm integrating sametime chat functionality into a web application using the stproxy JS library. The chat goes into DIV-elements (not separate browser windows). User can open several tabs, all of them running the web application, hence the chat.
Since the chat is an integrated part the user can go offline -sign out from the chat, but to remain being signed in the web application.
What is better - calling 'stproxy.login.logout' with parameter (isRealLogout) true or false? Is there something else I have to do?

On one hand I have to perform that action in every tab otherwise the internal state of the stproxy is broken and there are quite problems when I try sign in again.
If I do case 1 ' isRealLogout == true' I have to put that code in try-catch block because there is exception when that action is performed in the other tabs (remember I have logout already from the first tab).
If I use case 2 - it seems that stproxy cannot either handle that case well.
How can I logout gracefully?

(I use server-side notifications to handle offline-online / online-offline change across all tabs)






Using stproxy.login.logout in multi... (Ivo Rahov 2.May.11)
. . RE: Using stproxy.login.logout in m... (Brendan P Murra... 4.May.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