Session Cookies

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
 
J

Jason Tan

Hi Rob,

Thank you for posting here!

I notice that you have posted the same question 27569595 in our
microsoft.public.windows.inetexplorer.ie6.browser newsgroup, to which I
have already responded.

For your convenience, I have included my reply as follows:
==================================================================
Hi Rob,

Thanks for posting!

It appears that this is a Development related request and would best be
addressed in the Developer newsgroups. I have provided the link below:

http://msdn.microsoft.com/newsgroups/default.asp

Or you may ask for developer support:
http://support.microsoft.com/directory/directory/phonepro.asp?sd=msdn

Jason Tan

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

===================================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

====================================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top