-
March 2nd, 2017, 08:34 AM
#1
Force terminate the user session
I need some help to force terminate the user session suppose if the user goes to other tab from my site in browser, after reenter to my site i need to create new session to the client. And also i need to terminate the session if the user navigate to other page of my site. Because LS server only have to serve the data if the user currently on my stock display page. Other wise server no need to serve the data to client.
And also I need the help to restrict the other person to view my LS server. Now I'm running my LS server in my server with the default port number 8080. So I have mentioned the detail mydomainname:8080 in client to connect my server. Developers can see the link by using the developer console. If the developer hit the URL like mydomainname:8080 means response display like lightstreamer page. How to avoid this screen if the request comes from other than my domain or I need some credential to post from request header and LS server validate the request header data and based on the validation need to send response.
-
March 2nd, 2017, 11:02 AM
#2
Hi rvkvino,
if the user navigates to other page the Lightstreamer session should close shortly. Have you different evidences?
Instead in case of browsing through the tabs, it is common practice keep open the session, but if you want a different behavior you should be able to detect the blur and focus events for the browser window, closing and re-opening the session calling disconnect() and connect() of LightstreamerClient.
About restrict other person to view LS server please refer this document: http://www.lightstreamer.com/repo/di...RITY_NOTES.TXT
that shows how to protect the Monitoring dashboard of the server and suggests to remove at all the "pages" folder.
Similar Threads
-
By rvkvino in forum General
Replies: 1
Last Post: February 24th, 2017, 10:06 AM
-
By Milanche in forum Adapter SDKs
Replies: 1
Last Post: October 7th, 2013, 09:16 AM
-
By stephenallred in forum Client SDKs
Replies: 1
Last Post: June 7th, 2010, 11:13 AM
Tags for this Thread
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 11:35 AM.
Bookmarks