Results 1 to 7 of 7

Hybrid View

  1. #1
    Member
    Join Date
    Feb 2016
    Location
    Arlington, VA
    Posts
    3
    I know this thread is a bit old, but still very relevant to my use case as described below.

    We wanted to ensure that upon the user hitting logout, all streaming sessions to LS be terminated. The obvious solution is to modify the above code, group the sessions for a given user together, and then raise a disconnect call on one of the open 'LightstreamerClient' object. However, architecture tells me that logout event is loosely coupled with the many, many applications in the portal and it only servers to call an HTTP request to invalidate the session cookie.

    I expected that i would be able to extract LS sessions from the HTTP header and call LS server for session termination, but LS documentation tells me that is not possible ( please correct if i am wrong). Putting a cached map of user to session_id's somewhere in the global cache has system engineering in a fit so will be a hard sell.

    So, please advice if there is another solution to extract LS session information from the headers, or another way to disconnect user sessions which is not based on LS session_id's. Thanks a lot for any advice you can give.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi link2tdss,

    I am very sorry but I am not sure to understand the scenario you described.

    Please, could you confirm that your aim is to have a component, between the client and the server, that collects sessions id of all streaming sessions opened by a user, and when detects the logout for the user, proceeds to disconnect all the sessions upon Lightstreamer server?

    Thank you,
    Giuseppe

 

 

Similar Threads

  1. Replies: 1
    Last Post: June 7th, 2010, 11:13 AM
  2. Session Limitation
    By gani in forum Client SDKs
    Replies: 6
    Last Post: May 19th, 2010, 09:30 AM
  3. Security patterns: Forcing disconnection
    By churrusco in forum General
    Replies: 15
    Last Post: April 20th, 2010, 08:46 AM
  4. Session closed
    By EWANG in forum Client SDKs
    Replies: 7
    Last Post: April 16th, 2010, 05:09 PM
  5. How to close Session in LS?
    By spganesh in forum Client SDKs
    Replies: 1
    Last Post: February 10th, 2010, 10:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:10 PM.