[eluser]Kobus M[/eluser]
Hi,
This is driving me insane, and I don't know what is causing the problem.
I have posted a brief note on someone else's post that has a very similar problem, but there is no responses there, and perhaps mine is not 100% the same as his problem.
I am using CodeIgniter 1.7.2 (didn't upgrade yet, not sure I am seeing a need to do so yet, as I am still struggling to learn CI).
I wrote a little controller that handles login functionality for me, that records login attempts, failed attempts, last login information, etc. etc. etc., and after a successful login, I use redirect('controller/method') to change to the appropriate controller once login is successful.
Upon redirect, the session variables are lost, and therefore the user is not recorded as logged in.
Is there a better way to preserve session data than with a redirect? I saw a few post of people using flashdata to do this, but my attempts at that were fruitless.
Could anybody please shed some light on what I am doing wrong, please?
Kobus