Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Maybe this is an ASP.NET beginner's question, but I could not find the answer on this site. I could get a ADF Claimstore object working only in the HttpApplication.PreRequestHandlerExecute event.

In which HttpApplication events is the ADF claimstore expected to be available?

share|improve this question

It is not documented in which Web Application Event ADF should be executed. The recommendation would be to use an event that is executed before the Request Handler is executed and after the session data and cookies are available since they are mandatory for ADF. HttpApplication.PreRequestHandlerExecute is the right event for this.

Please note that ADF is executed as a Http Module that implements IRequiresSessionState and populates claims on PreRequestHandlerExecute

Sample Code:

public class HttpModule : IHttpModule, IRequiresSessionState {
    public void Init(HttpApplication application)
            application.PreRequestHandlerExecute += new EventHandler(this.OnPreRequestHandlerExecute);

I hope this helps.

share|improve this answer
You are not saying it explictly but I think this means there are no other HttpApplication events cause they are either to early or to late in the chain. – Jan H Apr 2 '14 at 7:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.