I’m trying to create a piece of software (C++ with Qt) that would search some data into cookies of my website.
I found the WinAPI function named InternetGetCookie(szURL, NULL, lpszData, &dwSize) but when I want to show the result I have something like this:
__utma=166311972.1573129762.1302471948.1313050619.1313050781.24; __utmz=166
311972.1302471948.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); kk_als=ZmNk
YzE4MGIzYWQwMDI3Mzc0ZTkwMDQ2MWMwMGM5MTUjIzgxLjI0Ny4zNi4xNTcjI05PX1BBUkVOVCMjMTMw
MjQ3MTk1MiMjLyMjTk9fUkVGRVJFUiMjTk9fT1BUX0lORk8jIzEjIzAjIzAjIzAjIzAjIzEjIzE%3D
It looks like base64 but I can’t find what I want.
Somebody know how to read this cookie ?
PS: sorry for my bad english.
I found.
When IE is in protected mode you can’t see all the cookies with “InternetGetCookie”
To solve this problem there is an other function: