Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2005 Apr : Enumerating all session cookies

www.cryer.info
Managed Newsgroup Archive

Enumerating all session cookies

Subject:Enumerating all session cookies
Posted by:"crj" (chris_jobson@hotmail--no-spam--.com)
Date:Wed, 6 Apr 2005 11:10:52

Hi

How do I find all -session- cookies for the current process?

I have tried using FindFirstUrlCacheEntry/FindNextUrlCacheEntry
but this only returns non-session cookies -
at least, I cannot see it returning any in the
tests I have run.

If I know a particular URL then using InternetGetCookie()
I can locate the cookies (session and non), but if I don't know the
URL how then do I find the session cookies?

Seems that I must be missing something pretty obvious here, but cannot see
what at the moment.

- chris

Replies:

www.cryer.info
Managed Newsgroup Archive