Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Flashdata is not working
#2

[eluser]TheFuzzy0ne[/eluser]
Eeek! Problem solved!

I should be calling "set_flashdata()", instead of "flashdata()". My mistake, I misread the guide...

On that note, I am interested to know why $this->session->flashdata cannot be used to set variables. The function returns the value of the data in the array, and I believe it could also set that data if called with a second parameter, containing the value. Then again, perhaps my preferred method is wrong, or not preferred among other people. Maybe having one function performing both read and write actions makes things more complex?


Messages In This Thread
[SOLVED] Flashdata is not working - by El Forum - 10-03-2008, 07:20 AM
[SOLVED] Flashdata is not working - by El Forum - 10-03-2008, 07:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB