I'm setting a parameter on the $visitor object using the visitor_setup event.
In another event I want to check that parameter (so the $visitor object needs to be available) and then perform a controller redirection if the parameter is true.
I assumed this would be do-able in the controller_pre_dispatch event, but despite using:
return $controller->responseRedirect ... etc...
The redirection doesn't occur.
Of course I could check for that parameter in a template_hook event and if it's true inject a <meta refresh client side redirect into the HTML but... don't like it... and the redirection is pretty much visible to the end user so it just doesn't seem clean.
I'm sure there's an elegant solution... any ideas?