cookie is writing onActionexecuted.

Was testing the OnResultExecuted response.end with a thread sleep.
set HomeController to inherit globalauction controller for session setup.