Redirect users to custom page with notification

In form registrations, and form operations which consists insert, update and delete actions; we often need to redirect user after a successful/unsuccessful operation(s).

To inform user about the fail or success of operations, you can set flash messages, which you can set manual messages for any operations you want. Flash messages automatically destroy themselves after page refresh.

In CodeIgniter, this operation can be done as following:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.