Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sun, 13 Jul 2008 10:54:33 -0700 (PDT),    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Enumeration of visited cache links fails?   
Hi - I am trying to enumerate the visited items in the IE cache using
the method of:

FindFirstUrlCacheEntry( L"visited:", ... );
FindNextUrlCacheEntry()....

but this is returning either 0 entries, or sometimes one or two
advertising links. It never seems to return any of the website links I
visit using my app which hosts a browser control!

How can I see the history of visited sites?

(Using IE7 on Vista if that matters).
date: Sun, 13 Jul 2008 10:54:33 -0700 (PDT)   author:   Dave Brown

Re: Enumeration of visited cache links fails?   
On Jul 13, 10:54 am, Dave Brown  wrote:
> Hi - I am trying to enumerate the visited items in the IE cache using
> the method of:
>
> FindFirstUrlCacheEntry( L"visited:", ... );
> FindNextUrlCacheEntry()....
>
> but this is returning either 0 entries, or sometimes one or two
> advertising links. It never seems to return any of the website links I
> visit using my app which hosts a browser control!
>
> How can I see the history of visited sites?
>
> (Using IE7 on Vista if that matters).

Igor -- no ideas here??
date: Tue, 15 Jul 2008 01:06:19 -0700 (PDT)   author:   Dave Brown

Re: Enumeration of visited cache links fails?   
"Dave Brown"  wrote in message
news:2a32b6c5-adef-41f3-92f6-d40a1637205d@c58g2000hsc.googlegroups.com
> Hi - I am trying to enumerate the visited items in the IE cache using
> the method of:
>
> FindFirstUrlCacheEntry( L"visited:", ... );
> FindNextUrlCacheEntry()....
>
> but this is returning either 0 entries, or sometimes one or two
> advertising links. It never seems to return any of the website links I
> visit using my app which hosts a browser control!
>
> How can I see the history of visited sites?
>
> (Using IE7 on Vista if that matters).

Works for me on IE7 and WinXP. Must be something specific to Vista. 
Perhaps the app doing the visiting and the app reading the cache are 
running with different integrity levels: there is a separate cache for 
Low integrity.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Tue, 15 Jul 2008 08:48:36 -0400   author:   Igor Tandetnik

Re: Enumeration of visited cache links fails?   
On Jul 15, 5:48 am, "Igor Tandetnik"  wrote:
> "Dave Brown"  wrote in message
>
> news:2a32b6c5-adef-41f3-92f6-d40a1637205d@c58g2000hsc.googlegroups.com
>
> > Hi - I am trying to enumerate the visited items in the IE cache using
> > the method of:
>
> > FindFirstUrlCacheEntry( L"visited:", ... );
> > FindNextUrlCacheEntry()....
>
> > but this is returning either 0 entries, or sometimes one or two
> > advertising links. It never seems to return any of the website links I
> > visit using my app which hosts a browser control!
>
> > How can I see the history of visited sites?
>
> > (Using IE7 on Vista if that matters).
>
> Works for me on IE7 and WinXP. Must be something specific to Vista.
> Perhaps the app doing the visiting and the app reading the cache are
> running with different integrity levels: there is a separate cache for
> Low integrity.
> --
> With best wishes,
>     Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925

Hmm. Maybe the actual browsing/caching in Vista is done at Low
integrity in the browser control, so when my app attempts to read it
only has access to the high integrity?

Is there any way for a high-integrity app to access the Low integrity
"visited" cache ?
date: Tue, 15 Jul 2008 07:53:01 -0700 (PDT)   author:   Dave Brown

Re: Enumeration of visited cache links fails?   
Dave Brown  wrote:
> Is there any way for a high-integrity app to access the Low integrity
> "visited" cache ?

As far as I can tell, no. You will have to spawn a low integrity process 
to do the reading.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Tue, 15 Jul 2008 14:23:31 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us