Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems clearing InternetSetOption DLL
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013134
Message ID:
01014159
Views:
19
Thanks. I believe I've found the solution . . . see my reply to Sergey if you're interested.

>Hello,
>
>i've found this info in the microsoft.public.winhttp newsgroup:
>
>"Some suggestions for workarounds for the problem in wininet: if you can do
>without persistent connections, then disable keep-alive (by setting a
>"Connection: Close" request header). Or, after you close the session handle
>(the handle created by InternetOpen), call InternetSetOption(NULL,
>INTERNET_OPTION_END_BROWSER_SESSION, NULL, 0) -- hopefully this can be done
>before calling FreeLibrary on your DLL. Setting this option after closing
>all your wininet handles will cause wininet to discard its socket cache.
>"
>
>WinInit caches it's socket connections .. and the cleanup routine seems to not work correctly ..
>
>Regards
>Christian
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform