Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Incorrect Number of Web Connections When Using Internet Explorer

Primary Software: LabWindows/CVI Add-ons>>Enterprise Connectivity Toolset
Primary Software Version: 1.0.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am hosting my user interface on a web page with the LabWindows/CVI Internet Toolkit. I try to monitor how many clients are connected to my web page with the INET_NumWebConnections function, but this function returns an inconsistent number of web connections. Why is this function not returning stable values?

Solution:
Internet Explorer only supports Client Pull updates as documented in the following MSDN Knowledge Base. With the Client Pull mechanism, clients connect to the server, receive updates, and immediately disconnect from the server. In client pull, HTTP connections are never held open; rather, the client is told when to open a new connection, and what data to fetch when it does so. Therefore, the INET_NumWebConnections function may seem to return unstable results if you are using Internet Explorer since at any given time, you might not have the same amount of open connections as you have clients.

Related Links:
MSDN: Server Push Animation Not Supported in Internet Explorer

Attachments:





Report Date: 02/28/2005
Last Updated: 03/07/2005
Document ID: 3IREI2K7

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit