What are you trying to achieve using the Umbraco events? Do you need to hook into something when for instance a page is published in the backoffice or do you need to make something happen on the frontend when the page is loaded?
Try to explain a bit about it and then it will be a little easier to provide you with an answer you can use.
Hi. If you really badly need it then you can add it to a template file as an inline ASP.NET code (<script runat="server">), or to the ~/default.aspx page since it is a front controler that any request to the site ultimately goes to. However, personally I would discourage you from such approach. I think it would be much better to implement the feature you want with a custom HttpModule.
Handling Events
Hello,
I saw the available events of umbraco, but I do not found anyone like "Page_Init".
There is someone to handle the page init?
PS: English it's not my first language... Sorry
Hi Cleyton and welcome to the community :)
What are you trying to achieve using the Umbraco events? Do you need to hook into something when for instance a page is published in the backoffice or do you need to make something happen on the frontend when the page is loaded?
Try to explain a bit about it and then it will be a little easier to provide you with an answer you can use.
/Jan
First, thanks Jan!
I'm trying to do an "auto logon" with ActiveDirectory on frontend.
ideas?
Hi. If you really badly need it then you can add it to a template file as an inline ASP.NET code (<script runat="server">), or to the ~/default.aspx page since it is a front controler that any request to the site ultimately goes to. However, personally I would discourage you from such approach. I think it would be much better to implement the feature you want with a custom HttpModule.
Hi Rodion,
It's true!
I'll put the logic in the HttpModule... it's better
Thanks all!
is working on a reply...