Seems to be impossible, just because the only parameters you can set are far less than setting a referrer. Thus you’ve to rely on your browser capabilities. However the most reliable way is to redirect with referrer in mind. Something like _GET parameters.
$this->_redirect('/url/return-to/1'); |
Once this parameter is processed by the controller/action you can return to the referrer!