Welcome Guest, Not a member yet? Register   Sign In
redirect not working with IE
#1

[eluser]tommebasso[/eluser]
Hi

I'm through several hours of headbanging upon my problem and a lot of forum searching, but didn't find a solution.

prior to deleting an article I'm presenting the user a page asking him if he really wants to delete it. if he denies i'm doing a redirect to the show-view of the article, which goes like this:

Code:
function del($id = '')
{
    if($this->input->post('mysubmit') == 'ja'):
        $this->Aktuell_model->del_artikel($this->input->post('id2'));
        redirect($this->data['controller'],'refresh');
    elseif($this->input->post('mysubmit') == 'nein'):
        redirect($this->data['controller'].'/show/'.$this->input->post('id2'),'refresh');
    endif;
    $this->data['record'] = $this->Aktuell_model->get_artikel($id);
    $this->data['view']['content'][] = $this->load->view('delete', $this->data, TRUE);
    $this->load->view('page',$this->data);
}

my site works just well with firefox, opera, safari (both mac and pc), but when it comes to win ie (6+7), instead of redirecting i get the pre-delete-page over and over again.
what the hack is going on here?

oh, and by the way: i looked in the logs and while ff, safari and opera produce some messages (unset variables etc...), ie doesn't produce anything. could it be this is related to the redirect-problem? or anything? I'm just desperate here

(sorry, i just noticed that i should have posted this under code und app dev)


Messages In This Thread
redirect not working with IE - by El Forum - 12-15-2008, 04:35 AM
redirect not working with IE - by El Forum - 12-15-2008, 10:32 AM
redirect not working with IE - by El Forum - 12-15-2008, 11:51 AM
redirect not working with IE - by El Forum - 12-15-2008, 12:53 PM
redirect not working with IE - by El Forum - 12-16-2008, 08:55 AM
redirect not working with IE - by El Forum - 12-16-2008, 10:48 AM
redirect not working with IE - by El Forum - 12-17-2008, 12:52 AM
redirect not working with IE - by El Forum - 12-23-2008, 03:00 AM
redirect not working with IE - by El Forum - 12-23-2008, 11:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB