0
votes

I need to detect when a new session is started and I'm unable to locate a pipeline or processor for it. Ironically, I've found the sessionEnd pipeline!

The only other way I can seem to make it work is using Global.aspx to hook the session start event.

2
What about the createVisit pipeline? I know it's not exactly what you're looking for but maybe it's good enough? - Marek Musielak
let me give it a look - webber
@webber have you found out what works best for you? - Dmytro Shevchenko

2 Answers

1
votes

You can add your own processor to the httpRequestBegin pipeline with the following code:

if (Session["exist"] == null)
{
    // your code that should be executed on session start.

    Session["exist"] = true;
}
0
votes

You might find what you're looking for here

Depending on what you're looking for maybe the startTracking pipeline is what you want.