R
Rob Grainger
Hi folks,
I'm writing an Internet Explorer Toolbar (Toolband) in C++ and need to be
able to access a session cookie for the current browing session.
The cookie I want to read may not be defined on the current document - once
the user has visited a certain page, the cookie should be created and last
the length of the current session.
InternetGetCookie fails to return session cookies from the Internet Explorer
session, while the IHTMLDocument2::get_cookie method only returns cookies
from the current document - so I have no way of knowing when the cookie is
no longer valid (this can help if a user logs out on the page that
originally created the cookie).
Is there any way I can get the HINTERNET for the IE session, or some other
way anyone can think of accessing the cookie.
Thanks,
Rob Grainger
I'm writing an Internet Explorer Toolbar (Toolband) in C++ and need to be
able to access a session cookie for the current browing session.
The cookie I want to read may not be defined on the current document - once
the user has visited a certain page, the cookie should be created and last
the length of the current session.
InternetGetCookie fails to return session cookies from the Internet Explorer
session, while the IHTMLDocument2::get_cookie method only returns cookies
from the current document - so I have no way of knowing when the cookie is
no longer valid (this can help if a user logs out on the page that
originally created the cookie).
Is there any way I can get the HINTERNET for the IE session, or some other
way anyone can think of accessing the cookie.
Thanks,
Rob Grainger