[eluser]pickupman[/eluser]
I have used something when doing a login redirect, is save the url in the users session, and then upon logging in redirect back to the page they last clicked. You can use the same idea, save to the users session the string you want to redirect to, and also what data. Then in your controller that will handle the redirect, use both pieces of information in the Controller to handle it.
Again, without a specific explanation or example, or question is somewhat vague. Here is an example of what I am trying to explain:
Code:
$this->session->set_userdata('redirect_uri', 'after_redirect_controller'); //What page to go to after redirect controller
$this->session->set_userdata($data);
redirect('redirect_controller');
//Redirect Controller
function index()
{
$redirect_uri = $this->session->userdata('redirect_uri');
//Do something with other variables from session here
redirect($redirect_uri);
}