NetTalk Central

Author Topic: Active session  (Read 3166 times)

Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Active session
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Active session
« Reply #1 on: April 06, 2011, 12:09:45 AM »
Hi Matthew,

Do you have the NetTalk book?
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