Welcome Guest, Not a member yet? Register   Sign In
Unexpected flashdata behavior
#5

[eluser]Jeka[/eluser]
[quote author="mddd" date="1276808602"]You're welcome. HTTP headers are often a bit wacky.

About the IF condition: check what your get_user() method is returning. Maybe in some circumstance it is returning something that does not evaluate to 'false'?[/quote]

Under which conditions do you think the statement would set the flash variable but not redirect?

I just tried if (false) and you're right, it works okay then.

What's the best way to test for this in your opinion?


Messages In This Thread
Unexpected flashdata behavior - by El Forum - 06-17-2010, 09:27 AM
Unexpected flashdata behavior - by El Forum - 06-17-2010, 09:47 AM
Unexpected flashdata behavior - by El Forum - 06-17-2010, 09:53 AM
Unexpected flashdata behavior - by El Forum - 06-17-2010, 10:03 AM
Unexpected flashdata behavior - by El Forum - 06-17-2010, 11:07 AM
Unexpected flashdata behavior - by El Forum - 06-18-2010, 12:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB