Developer forum

Forum » Development » run on every pageload

run on every pageload


Reply
 How do you make a custommodule that runs on every pageload?

I need to check for som urls and make redirects and i figure this is the way to go.

- Sune

Replies

 
Reply
You could use Default.aspx CodeBehind, but you can also use the Dynamicweb.Notifications.Standard.Page.Loaded notification that runs on every pageload.
 
Nicolai Høeg Pedersen
Reply
Attached an example of the pageloaded notification subscriber in VB
 
Reply
Thanks both of you.
It was the Dynamicweb.Notifications.Standard.Page.Loaded feature I was looking for.

- Sune

 

You must be logged in to post in the forum