I would like to display/log all new connections. I have the demo how to iterate current sessions using properties (IP, Browser) of the iterated TIWApplication (and it works fine), but I cannot see where to set an event to get this data as the new session is created (and also when destroyed). Any help appreciated. Thanks.
You would only want to iterate in order to get a full list, and really should only do that when looking for a summary.
If you want to see a new session as it is created, you will find it in the server controller event IWServerControllerBaseNewSession(). You will see it destroyed in IWServerControllerBaseCloseSession().
Within those events, look at aSession.AppID for the session ID
Dan
Connect with Us