I'm New to CI and MVC. I wanted to know how i can redirect to base_url(); when the user reloads (by pressing F5 or by clicking on reload button)
Steps done so far:- I came across this post in tutorials plane http://tutorialsplane.com/codeigniter-redirect-refresh/
I have used the code given in the post redirect(base_url(),"refresh");, but what this does is to redirect to base_url(); no matter what.
I'm wondering what is wrong here, can someone please guide me through???