[Q] How run Custom code on each request/action

Dears,

For obscure reasons I’ll like to reset a session key when
request/action is outside a specific controller.

Is there a common place in the app where I can put such code, instead
of adding statements in each controllers ?

DRY

Thanks,
Mathieu

application.rb, before_filter