Discussion:
Custom IInternetProtocol and cookies
(too old to reply)
emdzej
2008-01-02 15:54:28 UTC
Permalink
Hello,
I have a problem with cookies when using custom pluggable protocol.
My protocol is accessing some resource, which operates by using HTTP
protocol (but can not be accesed directly with IE). In response to a
request a Set-Cookie header is transmited. But the cookie is not
present in further request headers passed to the protocol by the
browser.
The question is: does WinInet handle cookies regardless of the
protocol or it handles them only for http-like built-in protocols?
Should I parse Set-Cookie header by hand and set it manualy with
InternetSetCookie?

Thanks in advance,
MJ
Volodymyr Shcherbyna
2008-01-04 07:19:39 UTC
Permalink
IMHO, it handles them only for http protocols.
--
Volodymyr
NG tips:
http://msmvps.com/blogs/v_scherbina/pages/microsoft-newsgroups-tips.aspx
Post by emdzej
Hello,
I have a problem with cookies when using custom pluggable protocol.
My protocol is accessing some resource, which operates by using HTTP
protocol (but can not be accesed directly with IE). In response to a
request a Set-Cookie header is transmited. But the cookie is not
present in further request headers passed to the protocol by the
browser.
The question is: does WinInet handle cookies regardless of the
protocol or it handles them only for http-like built-in protocols?
Should I parse Set-Cookie header by hand and set it manualy with
InternetSetCookie?
Thanks in advance,
MJ
Loading...