-
Inet and cookies
Someone suggested that I use a WinInet API to achieve what I want, but I would like to know if it is possible to manipulate cookies using the basic Inet control.
Currently I use inet.openurl to open a URL which stores cookie data, and then use inet.getheader to retrieve the header information (what cookie data is being stored, among other things)...I now want to be able to use this data to access the site using that cookie. I am aware that the inet control *stores* the cookie data (well, windows does, it's part of the IE cookie data) but I want to be able to switch cookies quickly...maybe there's a way to clear IE cookies or set them or something?
Anyone got suggestions?
-
Re: Inet and cookies
No-one got any ideas? I think I might actually go with cURL for this, as I have had experience with it and it is simple enough to manage cookies once you're aware of how it all works :-)
cURL is a useful alternative to the standard internet interfaces, and you can get info at curl.haxx.se (and they even have a libcurl DLL now, although I dunno how to use it :-))
I would *prefer* to use inet as it wouldn't require all the extra code
-
Re: Inet and cookies
Additional: I should have mentioned that it is *session* based cookies...they're not stored in the cookie folder, it seems...so it's actually a part of inet/webbrowser's memory or something