Developer forum

Forum » Integration » Notifications.Standard.Page.OnGlobalTags running more than once

Notifications.Standard.Page.OnGlobalTags running more than once

Lars Larsen
Reply

Hi

I am using the Live Integration project on a solution. This project uses the Notifications.Standard.Page.OnGlobalTags event. But the problem is, that the OnNotify method runs more than one time for each page request. Any idea why this is happening?


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Lars

It only happens once for each instance of pageview in the same http thread. Where do you see this happening?

If you add ?debug=true to your URL you should see something like this:

Notification subscriber executed (dwn_standarrd_page_globaltags - Dynamicweb.eCommerce.LiveIntegration.NotificationSubscribers.PageOnGlobalTagsObserver (Dynamicweb.eCommerce.LiveIntegration.dll)) took: 0

And you should see it only once.

 

You must be logged in to post in the forum