Redirecting
Sometimes you want to redirect a user to a different page than what they requested for.
For example, if they're not logged in, you might want to prevent them from editing their profile, accessing private information, or checking out items in their shopping cart. Usually you want to redirect them to the login page, and after they have successfully logged in, take them back to the page they originally wanted to access.
There are many other reasons you probably want to have the last