Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How to use cookies with inet.execute [msinet.ocx]

I'm having trouble setting cookies while using the execute subroutine in the msinet control.

msinet.execute "http://www.mywebsite.com/", "POST", "variable=value", "Badname: blarrr!" & vbNewLine & "Cookie: name=value"

I've tried all different ways but can not figure out how to make msinet use the cookies I put into InputHdrs. All of the headers I put are used except cookies.

I've been trying to find a solution for hours.. Any help would be greatly appreciated!
[505 byte] By [Galdunn] at [2007-11-11 10:19:17]
# 1 Re: How to use cookies with inet.execute [msinet.ocx]
Use cookie in client ?? Why? For what?

MSInet shares Cookies with IE and controls it automaticaly.
Paranoik.cz at 2007-11-11 17:22:51 >