Welcome Guest, Not a member yet? Register   Sign In
Page not loading properly, need to hit refresh to see current page.
#1

[eluser]skrobma[/eluser]
I believe this has to do with a common controller I created. Whenever it's called the page just loads with the same data. But when I hit the refresh button the page changes properly.

This happens with the menu items (categories) and login which are both in the common controller.

You need to login for the categories to populate. (if you have problems logging in just go back to the site defined and click refresh.
Site: http://www.mypodstudios.com/asco/
login: asco/asco123

The asco controller builds the page. Common performs login/logout/category change.


Below is the category code from the common controller.
Code:
function cat()
    {
        $redir = $this->session->userdata('pod_path'); //asco
        // UNSET Video so next refresh has image not video
                $this->session->unset_userdata('vid_id');
        $this->session->set_userdata('catid',$this->uri->segment(3));
        redirect($redir);    
    }

Thanks -Mark


Messages In This Thread
Page not loading properly, need to hit refresh to see current page. - by El Forum - 05-27-2008, 06:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB