Possible Duplicate:
keep browser from resending post variables
When I try to load a view after some processing is done, the URL doesn't change and If user accidentally refresh the page he will resend the request and it will be processed all again.
I load a view and I pass some data to it. So I can't use redirect. How can I solve this problem?
$data['message'] = 'value1';
$data['another_message'] = 'value2';
$this->load->view('my_view', $data);