How do you catch the *first* navigation to a new page

Add-in Express™ Support Service
That's what is more important than anything else

How do you catch the *first* navigation to a new page
How do you catch the *first* navigation to a new page 
George Kierstein




Posts: 47
Joined: 2013-05-04
Hi,

I'm trying to find the most robust mechanism to know when the *first* navigation to a new page happens.

Since BeforeNavigate2 is called for every request associated with a page but I've noticed that although IEApp.LocationURL does match DocumentComplete2's rootDocLoaded parameter it is often not the first DocumentComplete2 callback to come through on a new page.

I need to track all the requests for a given page load and I end up improperly correlating these early requests with the previous page.

Any advice on how to definitely *know* that navigation to a new page has begun?

Thanks
G
Posted 10 Jul, 2013 14:02:03 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi George,

I tried to find a solution for this task in the 'How to monitor requests and responses in Internet Explorer' example: http://www.add-in-express.com/support/ie-vbnet-csharp.php
Posted 11 Jul, 2013 06:26:41 Top
George Kierstein




Posts: 47
Joined: 2013-05-04
Awesome thanks!
Posted 11 Jul, 2013 21:58:01 Top