Welcome Guest, Not a member yet? Register   Sign In
Webpage Expired / POSTDATA Expired
#1

[eluser]gscharlemann[/eluser]
I've setup a simple page that is populated with database information based on an item selected from a dropdown list. When you follow a link from the data to a detailed page everything works fine, but if I push the "back" button on my browser I get:

IE: Webpage Expired
Firefox: The page you are trying to view contains POSTDATA that has expired from the cache.

The item selected from the dropdown box is submitted via POST. How do I prevent this item from "expiring"?

The controller function is as follows:
Code:
function index() {
        $data['races'] = $this->race_model->get_races();
        $race_selected = $this->input->post('race');
        $data['race_selected'] = $race_selected;
        if(!empty($race_selected)) {
            $data['race_data'] = $this->race_model->get_race($race_selected);
        }
        $this->load->view('header');
        $this->load->view('raceresults', $data);
        $this->load->view('footer');
    }

Thanks for your help!


Messages In This Thread
Webpage Expired / POSTDATA Expired - by El Forum - 09-20-2009, 01:05 PM
Webpage Expired / POSTDATA Expired - by El Forum - 09-22-2009, 10:29 AM
Webpage Expired / POSTDATA Expired - by El Forum - 09-22-2009, 10:36 AM
Webpage Expired / POSTDATA Expired - by El Forum - 09-23-2009, 08:40 AM
Webpage Expired / POSTDATA Expired - by El Forum - 09-23-2009, 06:31 PM
Webpage Expired / POSTDATA Expired - by El Forum - 09-23-2009, 06:42 PM
Webpage Expired / POSTDATA Expired - by El Forum - 09-23-2009, 06:45 PM
Webpage Expired / POSTDATA Expired - by El Forum - 09-23-2009, 08:19 PM
Webpage Expired / POSTDATA Expired - by El Forum - 09-24-2009, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB