Do you always have the same behavior on a given machine or does it work
sometimes and sometimes not ?
Have you checked if it depends on wether or not the browser uses the new
"protected mode" ?
Also what is the authentication method ? Is this web app under your control
? Have you checked the http status code ?
--
Patrice
"jim evans" <jimsTAKE...@houston.rr.com> a �crit dans le message de
groupe de discussion : 55f5g5526qdm7c6dc...@4ax.com...
>
> I have a program that fetches a web page using InternetOpenUrl and
> InternetReadFile. It works consistently on XP, but on some (not all)
> Vista (and apparently Windows 7) machines if doesn't.
>
> For the program and web page fetch to work the person must be logged
> in with IE and have a login cookie. When it's exhibiting the failure
> it returns a page that says the user is not logged in. But, he is.
> When the program sees a "You aren't logged in" page it has an option
> to go to the target page in IE. If the user chooses this option and
> goes to the page in the browser he goes to the correct page and is
> logged in -- that is, everything is normal.
>
> Anybody know what's happening?
>
http://support.microsoft.com/kb/932118/en-us - Persistent Cookies are not
shared between IE7 and Office apps in Windows Vista (caused by protected
mode).
--
Patrice
I don't have IE8 handy.
FYI you also have a protected mode API
(http://msdn.microsoft.com/en-us/library/ms537312(VS.85).aspx) that could
perhaps help (it seems to be able to retrieve the protected mode cookies) if
users are not supposed to change in which zone this web site is running.
--
Patrice