Discussion:
InternetSetCookieEx with the INTERNET_COOKIE_EVALUATE_P3P flag
(too old to reply)
d***@mediatraffic.com
2006-04-24 20:59:52 UTC
Permalink
Hi, I'm trying to set a cookie using INTERNET_COOKIE_EVALUATE_P3P with
the reserved string.
I can't find any doc on either of these, and the format for the p3p
string that follows. Nothing can be found on msdn, or anywhere else I
looked.
whatever the string used like "CP=CAO PSA OUR" I always get the same
response, COOKIE_STATE_LEASH. meaning that the cookie is only set to
the first party

if anyone already tried this, just can't wait to hear from you, thx
Scherbina Vladimir
2006-04-25 07:07:07 UTC
Permalink
There is a mention on msdn about that flag:

"
dwFlags
[in] Flags that control how the function retrieves cookie data:
Value Meaning
INTERNET_COOKIE_EVALUATE_P3P If this flag is set and the dwReserved
parameter is not NULL, then the dwReserved parameter is cast to an LPCTSTR
that points to a Platform-for-Privacy-Protection (P3P) header for the cookie
in question.
"

and of course you have http://www.w3.org/P3P/p3pfaq.html
--
Vladimir
manage content: http://www.infostoria.com/
blog: http://thespoke.net/blogs/vladimir_scherbina/
Post by d***@mediatraffic.com
Hi, I'm trying to set a cookie using INTERNET_COOKIE_EVALUATE_P3P with
the reserved string.
I can't find any doc on either of these, and the format for the p3p
string that follows. Nothing can be found on msdn, or anywhere else I
looked.
whatever the string used like "CP=CAO PSA OUR" I always get the same
response, COOKIE_STATE_LEASH. meaning that the cookie is only set to
the first party
if anyone already tried this, just can't wait to hear from you, thx
d***@mediatraffic.com
2006-04-25 13:41:01 UTC
Permalink
Thx Vladimir, ut you still are not saying anything about what goes into
the Platform-for-Privacy-Protection (P3P) header ?? what is he format,
do you have a working example, I can't find any working example about
this parameter.

thx
d***@mediatraffic.com
2006-04-25 14:58:28 UTC
Permalink
Solved
--> ( DWORD_PTR ) (LPCTSTR) "CP=CAO PSA OUR"
Post by Scherbina Vladimir
"
dwFlags
Value Meaning
INTERNET_COOKIE_EVALUATE_P3P If this flag is set and the dwReserved
parameter is not NULL, then the dwReserved parameter is cast to an LPCTSTR
that points to a Platform-for-Privacy-Protection (P3P) header for the cookie
in question.
"
and of course you have http://www.w3.org/P3P/p3pfaq.html
--
Vladimir
manage content: http://www.infostoria.com/
blog: http://thespoke.net/blogs/vladimir_scherbina/
Post by d***@mediatraffic.com
Hi, I'm trying to set a cookie using INTERNET_COOKIE_EVALUATE_P3P with
the reserved string.
I can't find any doc on either of these, and the format for the p3p
string that follows. Nothing can be found on msdn, or anywhere else I
looked.
whatever the string used like "CP=CAO PSA OUR" I always get the same
response, COOKIE_STATE_LEASH. meaning that the cookie is only set to
the first party
if anyone already tried this, just can't wait to hear from you, thx
Loading...