I'm using CodeIgniter with codeigniter sessions that are stored in a MySQL database.
I need to do a multi page redirect as shown below:
some_form.php -> processing.php -> another_form_based_on_processing.php
Everything's okay going from some_form.php -> processing.php
But when I redirect the page from processing.php -> another_form_based_on_processing.php, I lose the session. An entirely new session is started, user information and all other session variables are gone.
What's the best way to approach this problem?