Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Everyone,
I am going to create a function which will run when user gets into my website. Imagine that each HTTP request will go through a custom "Task". Is there possible to achieve this purpose?
Thanks, Stephen
Hi Stephen,
It depends on what you would like to achieve with this custom 'task'.
Custom content finders
https://our.umbraco.com/Documentation/Reference/Routing/Request-Pipeline/IContentFinder-v7
Custom routes
https://our.umbraco.com/Documentation/Reference/Routing/custom-routes-v7
Route hijacking
https://our.umbraco.com/documentation/reference/routing/custom-controllers
Changing the default controller
https://our.umbraco.com/documentation/Implementation/Default-Routing/Controller-Selection/
You can have a look at HttpModules as well.
HttpModules
Hi Corné Strijkert
Thanks your solution, I am going to changing the default controller for checking the request url query, which used to identify the user.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Http Request Begin
Hi Everyone,
I am going to create a function which will run when user gets into my website. Imagine that each HTTP request will go through a custom "Task". Is there possible to achieve this purpose?
Thanks, Stephen
Hi Stephen,
It depends on what you would like to achieve with this custom 'task'.
Custom content finders
https://our.umbraco.com/Documentation/Reference/Routing/Request-Pipeline/IContentFinder-v7
Custom routes
https://our.umbraco.com/Documentation/Reference/Routing/custom-routes-v7
Route hijacking
https://our.umbraco.com/documentation/reference/routing/custom-controllers
Changing the default controller
https://our.umbraco.com/documentation/Implementation/Default-Routing/Controller-Selection/
You can have a look at
HttpModules
as well.Hi Corné Strijkert
Thanks your solution, I am going to changing the default controller for checking the request url query, which used to identify the user.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.