In my admin controller action I want to redirect to the previous page. How can I do this?
it does a little more than redirect to the previous page.
If you specify in the url a parameter
uenc it will consider that as the referrer.
Try this code :
Mage::app()->getResponse()->setRedirect($_SERVER['HTTP_REFERER']); Mage::app()->getResponse()->sendResponse(); exit;