-
May 15th, 2018, 12:54 PM
#1
Force session to stop receive data after some time for previously subscribed item
Hello,
I am trying to find more information on documentation for how to implement the following scenario without any luck.
My client is written in JavaScript and my server in .NET, and so I use the .net adapter.
A user connects with the LS server and tries to subscribe, let say to ItemA and ItemB. The ItemA subscription is allowed by default for all users, the ItemB is allowed because this user have bought a premium service for 30 minutes.
After 30 minutes, user must continue to receive data for ItemA and stop receive data for ItemB. The web client should not hard-refresh (preferably not even change the session) and server must not send to this session data for ItemB, even if client has not made any action (client handler has crashed)
Note that many users are connected to both tables if that matters.
So, my questions are:
- How my server can stop transmit data for a table to a specific session?
- How my server can force a session to disconnect?
- What functions should I use from the .net adapter?
Similar Threads
-
By rvkvino in forum General
Replies: 9
Last Post: November 7th, 2017, 03:09 PM
-
By Johnny in forum Client SDKs
Replies: 10
Last Post: September 13th, 2010, 11:06 AM
-
By stephenallred in forum Client SDKs
Replies: 1
Last Post: June 7th, 2010, 11:13 AM
-
By mnenchev in forum General
Replies: 3
Last Post: November 25th, 2009, 02:27 PM
-
By rsouissi in forum Adapter SDKs
Replies: 4
Last Post: January 10th, 2007, 06:11 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:03 AM.
Bookmarks