Closes an HTTP Session opened with HTTPConnect(). This method is automatically called during DESTROY.
You should always close HTTP connections after retrieving content from the server. In fact, we recommend you creata a new object each time you make another call to make sure the object is 'in a clean' state. During operation various properties may get set that have to be unset later if you keep the object around (for example the POST buffer and connection handles) and it's simply easier to recreate the object than to reset everything. If you insist on keeping the object around make sure you call HTTPClose() on each request or you will leak Windows handles causing an eventual running out of resources.
See also:West Wind Web Connection
Comment or report problem with topic