• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.