The following articles describes the events exposed by pages in Sitefinity.
This interface is implemented by all events which fire when a page in the site is accessed by an unauthorized user. There's only one such built-in event, but you should always subscribe using the interface rather than the class that implements it. Use the following code to subscribe.
EventHub.Subscribe<IUnauthorizedPageAccessEvent>(evt => IUnauthorizedPageAccessEventHandler(evt));
var currentContext = eventInfo.HttpContext;
var page = eventInfo.Page;
var redirectStrategyType = eventInfo.RedirectStrategy;
var redirectUrl = eventInfo.RedirectUrl;
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.