Hi,
I'm new with CI. I'm still learning it, and hope to make my project with this framework. I have a simple question.
Before I started learning CI I was writing non OOP simple PHP apps, and used header("Location: ") to redirect the user upon successful or failed login. I've searched trough the docs and found redirect($uri = '', $method = 'auto', $code = NULL) function, does that do the same thing as far as I can see.
Should I still use the header() function or the CI built in redirect(), or should I use something different for this kind of task and similar tasks?
Thanks in advance!