NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on May 06, 2010, 06:17:14 PM
-
Hi,
How can I view the session variables for the server and the contents of the session variable queue - i.e. all of the entries in the Session Value queue and the current values for each entry?
Thanks,
Ron Jolda
-
Hi Ron,
It's a queue, so I guess the easiest way to see inside it is to use a list box.
However, beware, it's a global, unthreaded queue, so while it may be useful for debugging, I would not include that in a production program.
Cheers
Bruce
-
Hi Bruce,
What is the name of the Session Variables Queue and how can I reference it in a list box?
I see a bunch of typed queues in the net web code. What is the name of the queue that gets instantiated for the server?
Thanks,
Ron
-
There are a couple Queues here;
_SessionQueue &NetWebServerSessionQueueType
_SessionDataQueue &NetWebServerSessionDataQueueType
these are both properties of the WebServer object.
The first contains a list of the active sessions - the second contains a list of ALL the session values (for all the sessions)
Cheers
Bruce