NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on April 05, 2011, 11:26:24 PM

Title: Active session
Post 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
Title: Re: Active session
Post by: Bruce on April 06, 2011, 12:09:45 AM
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