How do you force redirect? |
[eluser]danbirlem[/eluser]
I have a form that after submitting I am trying to get it to go back to a fixed URL but it never seems to completely direct, only append the URL. Here's the controller code: Code: function delete() { The redirect() function within documentation doesn't work to append the URL, but I want a forced complete redirect to the URL.
[eluser]OliverHR[/eluser]
Redirect only work if you use it befor sending any header to client, Maybe you can you use in your header the html metatag refresh. http://www.w3schools.com/tags/tag_meta.asp
[eluser]Afro Radio Head[/eluser]
Code: $this->load->helper('url'); This doesn't work? You can view the page at http://ellislab.com/codeigniter/user-gui...elper.html |
Welcome Guest, Not a member yet? Register Sign In |