Quote Originally Posted by DarioCrivelli
Sorry, but the description of your case has been spreading over many posts and several threads and now I find it difficult to understand the correct references implied when you write "the same case", "time scheduler", "Again", "the same code", "my code".
May you please provide more details?
Hi Dario,

Actually my case is to handle the Browser Close Event in Notify Session Close Event.

For that I referred thread under:
http://www.lightstreamer.com/vb/showthread.php?t=683

and tried to implement in similar way to handle it.
During Notify New Session, I added a thread that will maintain the session of the user. During Notify Session Close, if the session id matched with the session id maintained with user then send log out for the user.

But while implementing, I thought it is enough if we have put the user and session mapping in a Map and killsession in Timescheduler is not required and removed(as given in thread http://www.lightstreamer.com/vb/showthread.php?t=683).

At this implementation level, I have got Sync Error and I have posted the same in Forum.

But As Alessandro mentioned this again and again to refer same post http://www.lightstreamer.com/vb/showthread.php?t=683, I have used killsession in Timescheduler as mentioned in the site, and now I am not receiving any Sync Errors. And it is working fine.

Can you tell me why it is necessary or compulsory to have kill session, and how it works (As I don't find the kill session is being called at anytime in my code.)?