NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on April 05, 2011, 11:26:24 PM
-
Hello
I have question about sessions.
How can I check which sessions is actually active and which isn't? I would like to know if user is logged in during his session time, and which session time was expired and the user was automatically logout. How can i check this and in which embed? This is important, because I would like to know how many user is actually logged in.
Regards,
Matthew
-
Hi Matthew,
Do you have the NetTalk book?
http://www.capesoft.com/accessories/nettalkwebbooksp.htm (http://www.capesoft.com/accessories/nettalkwebbooksp.htm)
There's a chapter in that on manipulating the sessionQueue (and the sessionDataQueue) -
it's a fairly detailed topic because the SessionQueue is not threaded - ie any direct access to the Queue must use the built-in Critical Section.
Cheers
Bruce